-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
No module named 'torch' - Only when upgrade pip is run? [Python 3.10, Torch 1.13.1] #4921
Comments
I am having the same issue, seems to affect pip version 23. I downgraded to pip 22.* and it worked fine. Specifically, I went form 23.1.1 down to 22.3.1. |
The latest pip should be used with |
This worked, thank you so much! FYI: Had to install a few more dependencies prior:
|
This was incredibly helpful! Thank you! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Instructions To Reproduce the 🐛 Bug:
docker build -t test .
run, such as a private dataset.
Expected behavior:
Should find torch. But if I comment out the line to update pip, it works.
Environment:
Provide your environment information using the following command:
If your issue looks like an installation issue / environment issue,
please first try to solve it yourself with the instructions in
https://detectron2.readthedocs.io/tutorials/install.html#common-installation-issues
The text was updated successfully, but these errors were encountered: