Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install drake known issues #15954

Closed
14 tasks done
jwnimmer-tri opened this issue Oct 22, 2021 · 4 comments
Closed
14 tasks done

pip install drake known issues #15954

jwnimmer-tri opened this issue Oct 22, 2021 · 4 comments
Assignees
Labels
component: distribution Nightly binaries, monthly releases, docker, installation configuration: python priority: backlog status: tracker Perpetually open

Comments

@jwnimmer-tri
Copy link
Collaborator

jwnimmer-tri commented Oct 22, 2021

Installation via Pip documents our instructions for installing Drake via pip.

For ease of reference, this ticket will consolidate the known issues with pip install drake.

Relates to #1183.

Note that sub-issues here are closed when the fix is merged to our master branch. Not all fixes have been published to pypi yet.

@jwnimmer-tri jwnimmer-tri added component: distribution Nightly binaries, monthly releases, docker, installation unused team: kitware status: tracker Perpetually open labels Oct 22, 2021
@jwnimmer-tri jwnimmer-tri self-assigned this Oct 22, 2021
@RandyChen233
Copy link

is there a way to install Drake in a windows machine? I'm getting the following error while attempting to install it in a Ubuntu terminal:
ERROR: Could not find a version that satisfies the requirement drake (from versions: none) ERROR: No matching distribution found for drake

@jwnimmer-tri
Copy link
Collaborator Author

@RandyChen233 sorry you're having trouble!

For support requests, we have some advice in https://drake.mit.edu/getting_help.html -- in short, please post requests for troubleshooting help to StackOverflow, not the issues database.

For installing via pip, please see https://drake.mit.edu/pip.html for instructions. Note that it links to https://drake.mit.edu/installation.html#supported-configurations which says what we can handle. We don't support Windows-native wheels per se, but it sounds like you're using Ubuntu on WSL, perhaps. Per those webpages and the known issues list above, note that we only offer Python 3.6 and Python 3.7 wheels at the moment. My guess would be that you're trying to use Python 3.8 or newer.

Our wheels also require pip >= 20.3, which could also be the cause of that error. I see now that our documentation doesn't mention this, though it does say to upgrade pip. I'll update our docs to call out that pip version requirement specifically.

If you're still having trouble installing, please post a StackOverflow question and we can investigate via that forum.

@rcywongaa
Copy link
Contributor

rcywongaa commented Jul 4, 2022

FWIW, currently, the default python3-pip package offered by Ubuntu 20.04 is 20.0.2 which is incompatible (Drake requires pip >= 20.3).

If not installing through a virtual environment (not recommended), the following 2 options should work:


Use an external pip to install drake

python3 -m pip install --upgrade pip

and install drake with

python3 -m pip install drake

or use the original command but with sudo

sudo pip install --upgrade pip
sudo pip install drake

@jwnimmer-tri
Copy link
Collaborator Author

As of the forthcoming v1.15.0, I think all of the known issues will be fixed.

If anyone has new problems, please open a new issue for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: distribution Nightly binaries, monthly releases, docker, installation configuration: python priority: backlog status: tracker Perpetually open
Projects
None yet
Development

No branches or pull requests

3 participants