Chris <uchyt...@uw.edu> writes:

> When running Pycuda code on Python 3.6 I get this error when executing
> "import pycuda.gl as cuda_gl"
>
> ImportError: /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0:
> undefined symbol: PyClass_Type
>
> It looks like it is using the python 2.7 boost files and not
> "libboost_python-py35.so.1.58.0". To use this do I need to configure
> something during Pycuda install or in the install directory?

./configure.py --boost-python-libname=boost-python-py36
rm -Rf build
pip install .

should do what you need.

Andreas

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

Reply via email to