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.8k stars 379 forks source link

Error while running the rviz-viewer.py #2136

Closed ajxdhe closed 7 months ago

ajxdhe commented 7 months ago

When I runned the rviz-viewer.py,an issue was encountered. /home/skywalker/anaconda3/envs/pino/bin/python /home/skywalker/pinocchio/examples/rviz-viewer.py Traceback (most recent call last): File "/home/skywalker/pinocchio/examples/rviz-viewer.py", line 22, in <module> viz.initViewer() File "/home/skywalker/anaconda3/envs/pino/lib/python3.8/site-packages/pinocchio/visualize/rviz_visualizer.py", line 63, in initViewer from rviz import bindings as rviz File "/opt/ros/noetic/lib/python3/dist-packages/rviz/__init__.py", line 25, in <module> from . import librviz_sip as bindings ValueError: PyCapsule_GetPointer called with incorrect name

jcarpent commented 7 months ago

It seems the issue is coming from RVIZ and PyQT (see https://answers.ros.org/question/371691/valueerror-pycapsule_getpointer-called-with-incorrect-name/).