-
Notifications
You must be signed in to change notification settings - Fork 697
error when import pcl #50
Comments
More information needed. What vesion of cython? |
Not a venv, judging from the
report? |
Same issue here, Mint 17, Python 2.7, pcl 1.7, as soon as I say Also, if I do 'import pcl' from within ipython, I get the same error, but with slightly more information: ImportError Traceback (most recent call last) /usr/local/lib/python2.7/dist-packages/pcl/init.py in () ImportError: /usr/local/lib/python2.7/dist-packages/pcl/_pcl.so: undefined symbol: _ZN3pcl6search6KdTreeINS_8PointXYZEEC1Eb What vesion of cython? How did you install pcl? What version of python-pcl? Did you build this in a virtualenv? What does this report? |
Did the following, and appears to solve the problem: Probably not the right thing to do, but worked. Could probably use a little blurb at http://strawlab.github.io/python-pcl/index.html that explains how to properly install python-pcl. Thanks for creating this package, btw. |
@rickarmstrong Your last post helped me a lot to get the installation done - just started using Python with PCL and I was totally confused on how to install it. Maybe this should be made more clear in the readme.rst of this project. |
Never sudo pip install |
@nzjrs What a chance that I didn't used 'sudo' for any command 👍 |
I ran into the same problem, but on OSX. The issue was due to the fact that pcl was compiled with clang++/libc++ (the clang standard library) but python-pcl was picking clang++/libstdc++ (the GNU C++ standard library). Compiling python-pcl with the following solved the problem
|
I just encountered this issue too. As suggested by @julienr, I needed to do:
And I also needed to do:
|
hello, I got the same problem on ubuntu, What should I do on Ubuntu? @mikeroberts3000 @julienr |
@q5390498 I'm sorry but I can't help you on this. Haven't used python-pcl for a while. |
I installed the python-pcl, but when I import that, I have the following error:
/usr/local/lib/python2.7/dist-packages/pcl/_pcl.so: undefined symbol: _ZN3pcl7PCLBaseINS_8PointXYZEE10setIndicesERKN5boost10shared_ptrISt6vectorIiSaIiEEEE
I am on ubuntu 12.04, python 2.7, pcl 1.7
The text was updated successfully, but these errors were encountered: