Import Errror: orge.renderer.OGRE


16-05-2009 23:57:49

i'm on on Mac OSX 10.5.6 having followed a combonation of the two build tutorials and .php?f=3&t=9389. I managed to install python-orge with a few mishapps but when i goto run the demos


if encounter the error
Traceback (most recent call last):
File "", line 16, in <module>
import ogre.renderer.OGRE as ogre
ImportError: No module named ogre.renderer.OGRE

from the tutorial it says that PythonOgreConfig corrects the module path with
import sys
import PythonOgreConfig

but when i checked to see how this was handled i was completly empty. What do i do


21-05-2009 05:04:32

Yea, it can't find OGRE.

I haven't taken the time to figure out exactly what isn't working, but I was able to hackify it. I'm devving on PC with Mac there for compat, and I haven't really had time to do much other than getting my project running on it.

sys.path.insert(0, '/Users/jeffl/dev/root/usr/lib/python2.5/site-packages')

And we're working again.