I'm having an issue with blender+python.
I have a script that is run with an "always" sensor. This script uses a library (openopc) that it uses pywin32.
The first time that I run the game logic, everything works fine. The second time I hit the P key to start the game I got an error on the pywintypes.py. The error is an assert in
assert sys.modules[modname] is not old_mod
what I have found out is that the pywintypes module is imported twice or loaded every time the game runs but the python instance is not reinitialized.
I don't know how to solve this, I have struggle with this the past three days and did not find the solution in internet.
What surprise me is that I found a lot of question regarding installing pywin32 on blender, but nothing on this issue.
I'm using last version of everything. Blender 2.69b+python33+pywin32 218.
Thanks in advance for any help you can give me!
Scripting in Blender with Python, and working on the API
1 post • Page 1 of 1