RussTedrake / underactuated

The course text for MIT 6.832 (and 6.832x on edX)
Other
752 stars 215 forks source link

No matching distribution found for drake>=1.14.0 (from underactuated) #523

Closed dvogureckiy99 closed 1 year ago

dvogureckiy99 commented 1 year ago

What happened?

I am install with this Building the Python Bindings instructions. WITHOUT USING DOCKER CONTAINER; And when I try sudo pip install underactuated I have got error:

ERROR: Could not find a version that satisfies the requirement drake>=1.14.0 (from underactuated) (from versions: none)
ERROR: No matching distribution found for drake>=1.14.0 (from underactuated)

Then I git clone underactuated repository. When I wanted run humanoids/littledog.ipynb I have got:

ModuleNotFoundError: No module named 'underactuated'

this is the reason I tried install underactuated like above.

Version

master branch commit 8327b29

What operating system are you using?

Ubuntu 20.04

What installation option are you using?

compiled from source code using CMake

Relevant log output

No response

RussTedrake commented 1 year ago

I suspect that there are at least a few things happening here. 1) building drake from source then running pip install underactuated will still try to pip install drake (since your manually built will not be identified as >1.14.0). 2) since pip install drake seems to have failed, I suspect you're using some version of python other than 3.8, which is the one we support on Ubuntu 20.04?

I agree with your approach to simply git clone underactuated. The step you've missed is just to add the underactuated directory to your PYTHONPATH.

dvogureckiy99 commented 1 year ago

Thank you very much Russ Tedrake for your work and helping.

I use Python 3.8.10.

For someone who interested in solution: I made this:

  1. run gedit ~/.bashrc
  2. added line to the end of it file: export PYTHONPATH=~/git/underactuated:${PYTHONPATH}