Hi there,
I have both python2 and python 3 installed and I also have pytorch and torch vision installed on both conda python2 and 3 environments using the conda environment. I previously trained a model in python3 using pytorch installed from anaconda.
I am now working in python2 and I need to import from a class from a module that was written in python3. When I do
import torch
, I get ImportError: No module named torch
. However, in my python3 environment, I can easily import torch. What could I be doing wrong?