I get the following message when trying to run pycuda example programs:

import pycuda.driver as cuda
File "C:\Program Files\Python26\lib\site-packages\pycuda-0.93-py2.6-win32.egg\pycuda\driver.py", line 1, in <module>
    from _driver import *
ImportError: DLL load failed: The specified module could not be found.

I checked sys.path and \pycuda-0.93-py2.6-win32.egg and pycuda:package are in the python path.

Pycuda is installed on a windows xp machine with Windows Visual C++ Express 2008.  I know Cuda works because I can compile the Nvidia Cuda example programs and they run OK.

I looked for DLL files used in _driver.pyd and one of them is named nvcuda.dll.  There is no such file on my machine.  Perhaps that is the DLL file that could not be found. The required boost dlls have been copied to windows\system32 directory and the boost lib  directory has been added to the system path.

Any ideas on where I have gone wrong?

__________ Information from ESET NOD32 Antivirus, version of virus signature database 4434 (20090917) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to