Windows 7 64 bit ImportError: DLL load failed


31-01-2011 06:50:00

hi everyone i am new in python-ogre

i follow the setup in win 7 64 bit i use python 2.66 32 bit

* Create yourself a suitable Python-Ogre directory
* Download the packages you want (media and ogre as a minimum)
* Extract the packages into the Python-Ogre directory
* Run python install
* Update your DirectX drivers by running ./tools/dxwebsetup

everythink fine

now when i try run a demo sample for example

when i try run one demo i get this messange

Traceback (most recent call last):
File "C:\Python26\lib\site-packages\ogre\renderer\OGRE\", line 10, in <module>
from _ogre_ import *
importError: DLL load failed: The specified module could not be found.

i try again for begin to install and same :( always
something missing :(

what i do wrong please help me ?

thank you


14-03-2011 05:09:00

Did you get any errors running python install? For some reason it doesn't look like it copied the necessary files across which is strange.

Have a look in C:\Python26\lib\site-packages\ogre\renderer\OGRE for a _ogre_.pyd file and if it's not there you can copy from your python-ogre-dir/package_2.6/ogre/renderer directory..

Of course if you want to use the latest Python-Ogre then you will need to upgrade to Python 2.7