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

no module named 'torch' #6

Open
jasonburnell98 opened this issue May 16, 2020 · 1 comment
Open

no module named 'torch' #6

jasonburnell98 opened this issue May 16, 2020 · 1 comment

Comments

@jasonburnell98
Copy link

I have verified that I have installed pytorch, when I type conda list I see the following:

pytorch 1.5.0 py3.7_cuda102_cudnn7_0 pytorch

however, when I try to run this code after following your instructions and setting up an environment I receive the following error:

Traceback (most recent call last):
File "test.py", line 11, in
import torch
ModuleNotFoundError: No module named 'torch'

Any help with this issue would be greatly appreciated.

@Xu-Yao
Copy link
Contributor

Xu-Yao commented May 24, 2020

Hello Jason, this error seems to indicate that you are not installing pytorch correctly. Did you intall the environment by running conda env create -f env.yml and conda activate hrfae ?

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

2 participants