"=?UTF-8?Q?marcus.desto?=" <[email protected]> writes:
> Thanks, worked well. No compiler needed.
>
> Your pyopencl runs well with python on windows 8. :) Great work.

Glad to hear it.

> Yesterday, I tried to install cygwin on windows 8 (amd64).
> Today, everything (python27 etc) runs well on cygwin.
> Ok, but I have another problem:
>
> As read on http://www.lfd.uci.edu/~gohlke/pythonlibs/ the offered compiled 
> libs do support cygwin. Well, they worked with main python from python.org 
> very well, as already mentioned.
>
> I tried to install the binaries of pyopencl and its dependencies, but the 
> installer forced me to install everything to directory c:\python27 where the 
> main windows python 2.7 is installed. So, I extracted all the files from the 
> setup files and copied it to c:\cygwin\usr\lib\python2.7\site-packages\ . 
> Scipy, decorator, numpy, and pytools are installed.
>
> Now, running python in cygwin, in fact, I can import scipy, numpy, pytools. 
> But when I try to import pyopencl it says
>
> $ python
> Python 2.7.3 (default, Dec 18 2012, 13:50:09) 
> [GCC 4.5.3] on cygwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import pyopencl
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python2.7/site-packages/pyopencl/__init__.py", line 28, in 
> <module>
>     import pyopencl._cl as _cl
> ImportError: No module named _cl

Good question. I know next to nothing about cygwin. My guess would be
that the pyopencl._cl module (the low-level C interface) is not finding
an OpenCL ICD loader to talk to.

Pretending that cygwin is like Linux, you could try:

ldd /usr/lib/python2.7/site-packages/pyopencl/_cl.dll

or

ldd /usr/lib/python2.7/site-packages/pyopencl/_cl.pyd

or some such...

HTH,
Andreas

Attachment: pgp1ShW1mXYbZ.pgp
Description: PGP signature

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

Reply via email to