Import Error while importing Pinocchio #2081
-
Dear @jorisv, I installed Pinocchio using This is the error message from the terminal.
Can you please tell me how can I fix this or what should I do ? Thanks and regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Hi @threedee003, This shouldn't link to boost python 1.71 from the system, but from boost python 1.82 from pip. Could you show us the result of the |
Beta Was this translation helpful? Give feedback.
-
Hello guys. I also tried to install Pinocchio into the embedded Python of Isaac Sim. Similar to @threedee003 , I use ./python.sh -m pip install pin to install Pinocchio, where python.sh is provided by Isaac Sim. The installation is successful:
The weird thing is that when I try to import Pinocchio, the Isaac Sim's python interpreter gives me a ModuleNotFoundError:
May I have some suggestions? |
Beta Was this translation helpful? Give feedback.
you are able to use pip for pinocchio as long as you are not simultaneously trying to use binaries from ROS apt packages.
I guess you update some environment variables or source a
/opt/ros/noetic/setup.sh
file in your~/.bashrc
. Remove this from your bashrc, open a new shell, and you're good to go.Alternatively, just run
export LD_LIBRARY_PATH=""
in a shell, and after that you can use pip for pinocchio in that shell.