Python AIML Kernel Startup error
<p>I'm trying to run a script to create a chat-bot with AIML Python module, and I'm new to python, whenever I run the script to initialize the chat-bot, during the first phase of execution and compiling it shows an error importing Kernel module, as follows:</p>

<p><img src="https://i.stack.imgur.com/nVyQn.png" alt="module import error"></p>

<p>The Code Is As Below:</p>

<pre><code>import aiml
# Create the kernel and learn AIML files
kernel = aiml.Kernel()
kernel.learn("std-startup.xml")
kernel.respond("load aiml b")

# Press CTRL-C to break this loop
while True:
    kernel.respond(raw_input("Enter your message &gt;&gt; "))
</code></pre>

<p>The file Structure for the aiml directory is:</p>

<p><img src="https://i.stack.imgur.com/HWtNp.png" alt="AIML Directory For Python"></p>