Hi Pedro,

On Mon, 3 Oct 2011 23:10:46 -0700, Pedro Marcal <[email protected]> wrote:
> I installed the binary from the Irvine site, but cannot get the included
> example to execute.
> It looks like I need some path or a .dll is missing.
> Here is the diagnostic for the starting few lines
> 
> import pyopencl as cl
> import numpy
> import numpy.linalg as la
> 
> resulting in the following error report.
> 
> Traceback (most recent call last):
>   File "C:\Python26\OpenCl_ex.py", line 1, in <module>
>     import pyopencl as cl
>   File "C:\Python26\lib\site-packages\pyopencl\__init__.py", line 4, in
> <module>
>     import pyopencl._cl as _cl
> ImportError: DLL load failed: The specified module could not be found.

Check the directory C:\Python26\lib\site-packages\pyopencl\ and look for
a file named _cl.pyd or _cl.dll. Then use the tool 'Dependency Walker'
to check whether it can find all the DLLs it needs.

HTH,
Andreas

Attachment: pgpS4AkAgQUU7.pgp
Description: PGP signature

_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to