Hegemege
28-02-2011 18:27:11
Hi!
I have all set up as told in the installation guide but I get this error when I try running any of the demos in demos/ogre. The error is on line 10 in the __init__.py in C:\hp\bin\Python\lib\site-packages\ogre\renderer\OGRE and the line 10 is
from _ogre_ import *
I tried checking the _ogre_.pyd file but I am not sure where I should change the Python version ogre needs(do I need to). Installation guide said that 2.6 is good but error says that I'm missing python27.dll.
So, I installed 2.7 and when I ran the Demo_Basic.py I got this error message: Module use of python27.dll conflicts with this version of python. Huh? I don't want to install only 2.7 because pygame doesn't support 2.7 and I use pygame quite a lot but then again if they are installed on top of each other I get some random errors like above from other modules. Should I just move on and install only 2.7 and would it fix the problem?
Yeah and when I installed python-ogre I had to rename one of the folders (it was packages-2.7) to 2.5 so that it could finish the setup.py
EDIT: I first installed the 1.7.2 version and looking at the filename it requires python 2.7 but I removed the files from my C:\python-ogre path and installed the 1.7.1 version instead. Are there other files I need to remove so that it can run on Python 2.6?
EDIT2: Installed only the 2.7 version of Python and still get the error: Module use of python27.dll conflicts with this version of python. Also, when I open any of the Demos in IDLE and hit F5 I get this: ImportError: No module named ogre.renderer.OGRE
I have all set up as told in the installation guide but I get this error when I try running any of the demos in demos/ogre. The error is on line 10 in the __init__.py in C:\hp\bin\Python\lib\site-packages\ogre\renderer\OGRE and the line 10 is
from _ogre_ import *
I tried checking the _ogre_.pyd file but I am not sure where I should change the Python version ogre needs(do I need to). Installation guide said that 2.6 is good but error says that I'm missing python27.dll.
So, I installed 2.7 and when I ran the Demo_Basic.py I got this error message: Module use of python27.dll conflicts with this version of python. Huh? I don't want to install only 2.7 because pygame doesn't support 2.7 and I use pygame quite a lot but then again if they are installed on top of each other I get some random errors like above from other modules. Should I just move on and install only 2.7 and would it fix the problem?
Yeah and when I installed python-ogre I had to rename one of the folders (it was packages-2.7) to 2.5 so that it could finish the setup.py
EDIT: I first installed the 1.7.2 version and looking at the filename it requires python 2.7 but I removed the files from my C:\python-ogre path and installed the 1.7.1 version instead. Are there other files I need to remove so that it can run on Python 2.6?
EDIT2: Installed only the 2.7 version of Python and still get the error: Module use of python27.dll conflicts with this version of python. Also, when I open any of the Demos in IDLE and hit F5 I get this: ImportError: No module named ogre.renderer.OGRE