Problem loading demos? Maybe this might help......

rasronin

01-02-2006 02:47:57

Here is the error I was getting:

Traceback (most recent call last):
File "C:\Python24\pyogre\ogre_demos\EnvMapDemo.py", line 2, in ?
import pyogre.ogre as ogre
File "C:\Python24\Lib\site-packages\pyogre\ogre.py", line 4, in ?
import _ogre
ImportError:


Ok, im a newb myself in every sense of the word, and was trying to get this working on my computer. I got the same error messages the other guys were getting, and was ready to say to hell with pyogre :(

BUT....

I read one of the post saying to try an earlier version and that didn't fix it.

So I played around with the folder structure a bit, I changed the name of the demo folder from c:\Python24\pyoger\oger_demos to C:\Python24\pyogre\demos and voila, it works.

Warning< I make no claim to being a 'hacker' in any sense, but I fixed my own problem, so if this doesn't fix it for you, don't be mad at me, enjoy ur problem.

Oh, and fellow newbs, put the media folder in the C:\Python24\pyogre\,
that may help a lil bit too

griminventions

01-02-2006 13:04:54

I think 1.0.5 and before have demos in demos/ and 1.0.5-1 and above use ogre_demos/. Well, congrats on solving your problem! :)