-
Notifications
You must be signed in to change notification settings - Fork 334
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' #7
Comments
make sure your VS Code is using the correct environment |
Probably you have setup a multiple python environment in your local PC. Which eventually create this issue. Solution:
Happy Torching!!!!!!!!!! |
Hello, I am using the correct environment but it's still bringing the same error |
In vscode, using Ctrl + Shift + P(windows) to choose a proper Python interpreter. |
I installed PyTorch as you mentioned. i type import torch in the cmd, its works perfectly. but i try to run train.py in vscode terminal, its shows No module named 'torch'. please help me
The text was updated successfully, but these errors were encountered: