stack-of-tasks / pinocchio

A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
http://stack-of-tasks.github.io/pinocchio/
BSD 2-Clause "Simplified" License
1.83k stars 383 forks source link

undefined symbol: _ZN8octomath6Pose6DC1ERKS0_ #2438

Closed GavinYang5 closed 1 week ago

GavinYang5 commented 1 week ago

Bug description

File "/usr/local/lib/python3.8/dist-packages/cmeel.prefix/lib/python3.8/site-packages/pinocchio/init.py", line 18, in from .pinocchio_pywrap import * ImportError: /usr/local/lib/python3.8/dist-packages/cmeel.prefix/lib/python3.8/site-packages/pinocchio/../../../../lib/libhpp-fcl.so: undefined symbol: ZN8octomath6Pose6DC1ERKS0

Expected behavior

A clear and concise description of what you expected to happen.

Reproduction steps

Steps to reproduce the behavior:

  1. Load to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Docker image

If this is an installation issue, a Docker image to reproduce it

...

Code

If this is a runtime issue, provide some minimal code to reproduce it:

...

Additional context

Add any other context about the problem here.

Screenshots

If applicable, add screenshots to help explain your problem.

System

GavinYang5 commented 1 week ago

Sorry, I didn't understand what you meant

GavinYang5 commented 1 week ago

My system is ubuntu20.04

jcarpent commented 1 week ago

@GavinYang5 If you can, switch to conda.

nim65s commented 1 week ago

@GavinYang5 : I can't reproduce your issue with a simple

FROM ubuntu:20.04

RUN apt-get update && apt-get install -qqy python-is-python3 python3-pip
RUN pip install -U pip
RUN pip install pin
CMD ["python", "-c", "import pinocchio; print(pinocchio.__version__)"]

So the issue probably come from your system.

jcarpent commented 1 week ago

I'm closing the issue thanks to the answer of @nim65s