I'm trying to figure out how to make use of external Python libraries. Anyone with experience??
I first implemented a simple "hello world" program to see if python works. It does: http://www.box.net/shared/uurz5hf5b8
Then I tried a simple example using a math import. That worked as well.
Then I tried to get a simple AI chat python program working (which works fine if I run it externally in Python 2.5 or Python 2.6. I don't get anything to return and its nearly impossible to troubleshoot.
Here is the .cap that isn't working: http://www.box.net/shared/pt45f74qze
I'm using the PyAIML module: http://www.box.net/shared/ts3nco3146
The Python code is very simple:
k = aiml.Kernel()
Of course, I am not using print k, but am instead printing via a text box. This should print out an AIML kernel object handle. This works fine with my normal Python install.
Any ideas on how to get this to work? Is this a path problem? Does Construct support importing external libraries?