wkentaro/octomap-python

ImportError: undefined symbol

Closed this issue · 1 comments

Hi,
I'm trying to import octomap in python, but I get an ImportError when running import octomap. Did i forget to install something? I'm using Python 3.6.9 and installed octomap-python with pip. I get the same error in Python 2.7.17 installing with pip.
ImportError: /home/user/.local/lib/python3.6/site-packages/octomap.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN7octomap14AbstractOcTree4readERKSs

Was able to install it following the directions in issue #1.
apt-get install liboctomap-dev libdynamicedt3d-dev
pip install scikit-build
pip install octomap-python --no-binary octomap-python