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

Issue running: python demo_toolbox.py #736

Closed
alexp-12 opened this issue Apr 14, 2021 · 2 comments
Closed

Issue running: python demo_toolbox.py #736

alexp-12 opened this issue Apr 14, 2021 · 2 comments

Comments

@alexp-12
Copy link

Hello,

I have satisfied all of my requirements and when I try to run the command

python demo_toolbox.py

I get an output that looks something like this:

ModuleNotFoundError: No module named 'torch'

I believe this is saying I don't have PyTorch. However, I installed PyTorch a few months ago and have been using programs requiring it since.

When I first installed PyTorch I used this command:

conda install --yes -c PyTorch pytorch=1.7.1 torchvision cudatoolkit=11.0

I am doing this all on PowerShell on Windows 10. Additionally, I am running python 3.6.8

Any thoughts would be great.

@ichbinvinh
Copy link

try to run this:
python3 -m pip install torch

@pilnyjakub
Copy link

Try running this command pip install torch -f https://download.pytorch.org/whl/torch_stable.html from #642 (comment)

@ghost ghost closed this as completed Apr 20, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants