Andreas Kloeckner
2014-12-20 02:50:34 UTC
Dear Person,
it seems that python3 does not like the libboost libraries of python 27
Please post things like this to the mailing list.it seems that python3 does not like the libboost libraries of python 27
$ python3 test_pyublas.py
File "test_pyublas.py", line 1, in <module>
import pyublas
File "/usr/local/lib/python3.4/dist-packages/PyUblas-2013.1-py3.4-linux-x86_64.egg/pyublas/__init__.py", line 2, in <module>
import pyublas._internal
ImportError: /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.54.0: undefined symbol: PyClass_Type
It looks like you're linking against a version of Boost Python intendedFile "test_pyublas.py", line 1, in <module>
import pyublas
File "/usr/local/lib/python3.4/dist-packages/PyUblas-2013.1-py3.4-linux-x86_64.egg/pyublas/__init__.py", line 2, in <module>
import pyublas._internal
ImportError: /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.54.0: undefined symbol: PyClass_Type
for Python 2.7. (from Python 3)
Andreas