Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

there are problems when i use the methond writen in INSTALL.MD , i try every ways to install torchvision,but always be wrong #47

Open
ziming-liu opened this issue Oct 27, 2018 · 1 comment

Comments

@ziming-liu
Copy link

❓ Questions and Help

import torch
import torchvision
Traceback (most recent call last):
File "", line 1, in
File "/home/ziming/github/vision/torchvision/init.py", line 1, in
from torchvision import models
File "/home/ziming/github/vision/torchvision/models/init.py", line 1, in
from .alexnet import *
File "/home/ziming/github/vision/torchvision/models/alexnet.py", line 2, in
import torch.utils.model_zoo as model_zoo
ModuleNotFoundError: No module named 'torch.utils.model_zoo'

@fmassa
Copy link
Contributor

fmassa commented Oct 27, 2018

Hi,

Did you use conda to install the libraries? Can you try creating a new environment?

Also, what were the commands that you used to install?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants