On Thu, 9 Sep 2010 23:31:36 +1000, Bogdan Opanchuk <manti...@gmail.com> wrote:
> Hi all,
> 
> I'm observing the following behavior with latest (git-fetched today)
> pycuda and opencl versions on Snow Leopard 10.6.4:
> 
> $ python
> >>> import pycuda.driver
> >>> import pyopencl
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File 
> "/Library/Python/2.6/site-packages/pyopencl-0.92beta-py2.6-macosx-10.6-i386.egg/pyopencl/__init__.py",
> line 3, in <module>
>     import pyopencl._cl as _cl
> AttributeError: 'NoneType' object has no attribute '__dict__'
> 
> $ python
> >>> import pyopencl
> >>> import pycuda.driver
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File 
> "/Library/Python/2.6/site-packages/pycuda-0.94rc-py2.6-macosx-10.6-i386.egg/pycuda/driver.py",
> line 1, in <module>
>     from _driver import *
> AttributeError: 'NoneType' object has no attribute '__dict__'
> 
> This worked with stable versions. Does anyone know why is this happening?
> (One may ask why do I need both libraries in the same program. I have
> the set of tests for my module, which can use both Cuda and OpenCL,
> and it is convenient to run all the tests using the single file.
> Although it is not a critical issue, I'm just curious).

Are you using the shipped version of Boost in both libraries? If so,
that might present an issue.

Andreas

Attachment: pgpTUb7mQcPyv.pgp
Description: PGP signature

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to