On Thu, 2012-02-02 at 12:57 -0700, Ricardo Amézquita wrote:
> Hello
> 
> I'm  trying to run pyfft using pyopencl, but I'm having a problem,
> because my pyopencl installation (pyopencl-2011.2) doesn't seem to
> have defined the VERSION attribute.
> 
> .....
> File
> "/usr/local/lib/python2.7/dist-packages/pyfft-0.3.6-py2.7.egg/pyfft/cl.py", 
> line 8, in <module>
>     if cl.VERSION < (0, 92):
> AttributeError: 'module' object has no attribute 'VERSION'
> 
> is this a bug in this pyopencl version? Should I use git version?

Yes, this is bug in PyOpenCL.
This has been fixed in git (on 2011-12-10), so consider using
git version, or at least apply appropriate patch
(965a37c533edbef730ba7802a6325226adbb6d48).

Best regards.

-- 
Tomasz Rybak  GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860
http://member.acm.org/~tomaszrybak

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to