On 3/23/2011 11:48 AM, Ilya V. Goz wrote:
I'm trying to install PyCUDA 0-94.2 under Windows 7, using MSVC
2008
Express,
Python 2.6.2, boost 1.46.1 and Nvidia driver 196.21 (CUDA 3.0.1).
Everything
successfully compiled, however, importing pycuda does not work.
Traceback (most recent call last):
File "test_driver.py", line 4, in <module>
from pycuda.tools import mark_cuda_test
File "C:\Python26\lib\site-packages\pycuda\tools.py", line 30, in
<module>
import pycuda.driver as cuda
File "C:\Python26\lib\site-packages\pycuda\driver.py", line 1, in
<module>
from pycuda._driver import *
ImportError: DLL load failed: The specified procedure could not be found.
Note that this isn't "The specified module..." error.
I tried different boost versions, binary installers for both boost and
pycuda,
and I am still getting the same error. What could be the problem?
Try open pycuda\_driver.pyd with Dependency Walker
<
http://www.dependencywalker.com/>. It might be able to detect which
procedures can not be found.
Consider upgrading to Python 2.6.6 and nvidia 266.58 drivers, which
contain many bug fixes.
Christoph