wkentaro / octomap-python

Python binding of the OctoMap library.
81 stars 28 forks source link

ImportError: undefined symbol #3

Closed VicSegers closed 4 years ago

VicSegers commented 4 years ago

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

VicSegers commented 4 years ago

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