Running Python Ogre- DLL loading error!


15-11-2008 14:43:44

Hello. I tried to run the first tutorial for Python-Ogre, but I got an error about not loading a DLL.
Traceback (most recent call last):
File "C:/Projects/EmberStudiosPython/testtehogre", line 3, in <module>
import ogre.renderer.OGRE as ogre
File "C:\Python25\lib\site-packages\ogre\renderer\OGRE\", line 10, in <module>
from _ogre_ import *
ImportError: DLL load failed with error code 193

Does anyone know the problem or how I can fix this?


15-11-2008 14:47:31

I am using Vista64 if that helps.


15-11-2008 15:23:24

That actually seems to be the problem. The DLLs are 32 bit. The solution is to use the 32 bit version of Python. Works fine now!