You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possible Fix & Workaround
Possible change will be to move torchvision==0.2.2=py3 from dependencies to under pip as torchvision==0.2.2 in requirements.yml file.
Additional Considerations
This may just be a local environment issue but invoking python in conda env will not point to version installed in the conda env, leading to import errors.
import torch
ModuleNotFoundError: No module named 'torch'
Upon explictly invoking python3, all import errors disappeared. Perhaps rewrite README for explicit invocation of python3.
I'd be happy to submit a PR for this issue.
The text was updated successfully, but these errors were encountered:
Environment
Operating System: Pop!_OS 22.04 LTS (Ubuntu Jammy)
conda version : 23.7.3
conda-build version : 3.26.0
python version : 3.11.4.final.0 (per base env)
Bug Description:
When running
conda env create -f requirements.yml
conda produces this output error.To Reproduce
Expected Behavior
Relevant Context
After doing research, it appears that torchvision 0.2.2 does not exist in conda's repositories.
See:
pytorch/vision#7456
Possible Fix & Workaround
Possible change will be to move
torchvision==0.2.2=py3
from dependencies to under pip astorchvision==0.2.2
in requirements.yml file.Additional Considerations
This may just be a local environment issue but invoking
python
in conda env will not point to version installed in the conda env, leading to import errors.Upon explictly invoking
python3
, all import errors disappeared. Perhaps rewrite README for explicit invocation ofpython3
.I'd be happy to submit a PR for this issue.
The text was updated successfully, but these errors were encountered: