ERROR: No matching distribution found for drake==1.30.0
Closed this issue · 5 comments
Hi! Thanks for your nice work!
I tried to install pyroboplan
from source in conda env and met the following error:
ERROR: Could not find a version that satisfies the requirement drake==1.30.0 (from pyroboplan) (from versions: 1.8.0, 1.9.0, 1.10.0, 1.11.0, 1.12.0, 1.13.0, 1.14.0, 1.15.0, 1.16.0, 1.17.0, 1.18.0, 1.19.0, 1.20.0, 1.21.0, 1.22.0, 1.23.0, 1.24.0, 1.25.0, 1.26.0)
ERROR: No matching distribution found for drake==1.30.0
Is the lower version of drake
available for the current version of pyroboplan
?
Based on those available versions, you seem to be on Python 3.8, which I have not tested on. I've been doing Python 3.10 and 3.12.
So you could try relax the requirements to use Drake 1.26.0 (the latest available on that version), but I can't guarantee that the rest of the package will work. Worth a try, though?
EDIT: I would encourage upgrading to at least Python 3.10, though, as 3.8 is end of life next month: https://devguide.python.org/versions/
Thanks for your reply.
Based on those available versions, you seem to be on Python 3.8, which I have not tested on. I've been doing Python 3.10 and 3.12.
I met the above dependency conflict error with py3.10 conda env.
I finished the installation with drake==1.26.0
and another error happened:
Traceback (most recent call last):
File "/home/xzc/Documents/pyroboplan/examples/rrt_panda.py", line 6, in <module>
from pinocchio.visualize import MeshcatVisualizer
File "/home/xzc/miniforge3/envs/lerobot/lib/python3.10/site-packages/cmeel.prefix/lib/python3.10/site-packages/pinocchio/__init__.py", line 18, in <module>
from .pinocchio_pywrap import *
ImportError: /usr/lib/x86_64-linux-gnu/libboost_python38.so.1.71.0: undefined symbol: _Py_fopen
It looks to me like there is a Pinocchio conflict between a (possible) ROS 2 Foxy install (hence Python 3.8) and whatever was installed by this. Basically, a ROS 2 version of this: stack-of-tasks/pinocchio#1229
If you do have Foxy set up locally, could you try do a sudo apt-get remove ros-foxy-pinocchio ros-foxy-eigenpy
and try again, by any chance?
Otherwise, try taking a look through that issue to see if there are any leads. Once you can import Pinocchio properly in your environment, let me know if you see any other PyRoboPlan related things.
Here's another issue that might be helpful: stack-of-tasks/pinocchio#1960
I guess another possibility is mixing PyPi (pip) and conda version of Pinocchio, based on the above. See this comment: stack-of-tasks/pinocchio#1960 (comment)
I guess another possibility is mixing PyPi (pip) and conda version of Pinocchio, based on the above. See this comment: stack-of-tasks/pinocchio#1960 (comment)
I follow this issue and it works. Thanks for your following up.