I installed the latest version of CUDA and the driver for my GPU. I am using Python 2.7.10 on Win7 64bit. I tried installing pyopencl from:
a . unofficial Windows binaries at http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopencl
b . by compiling my own after getting sources from https://pypi.python.org/pypi/pyopencl
The installation was successful in both cases, but I get one error message when I try to import it:
>>> import pyopencl Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python27\lib\site-packages\pyopencl-2015.1-py2.7-win-amd64.egg\pyope cl\__init__.py", line 30, in <module> import pyopencl._cl as _cl ImportError: DLL load failed: The specified procedure could not be found. >>>
I have a Visual C ++ Redistributable for Visual Studio 2015 installed from https://www.microsoft.com/en-us/download/details.aspx?id=48145 .
I also tried with two different versions of the GPU driver (including the latest). Same. Many people seem to get the same error, and on some forums I read that updating GPU drivers to the latest version, it works fine. But not for me.
Does anyone know how to fix this?
source share