mport pytorch fails on my windows 10 PC

joseph pareti joepareti54 at gmail.com
Sat Mar 28 14:23:12 EDT 2020


apologies for asking here a presumably off-topic question:

I have installed pytorch using (miniconda3) the following command:

*conda install pytorch torchvision cpuonly -c pytorch*

In the jupyter notebook, the 'import torch' fails:

*ModuleNotFoundError: No module named 'torch._C'*

I am not sure if having several python versions on the system could cause
the issue:

./Users/joepareti/Miniconda3/envs/myenv/python.exe
./Users/joepareti/Miniconda3/envs/myenv1/python.exe
./Users/joepareti/Miniconda3/pkgs/python-3.6.8-h9f7ef89_0/python.exe
./Users/joepareti/Miniconda3/pkgs/python-3.6.8-h9f7ef89_1/python.exe
./Users/joepareti/Miniconda3/pkgs/python-3.7.1-h8c8aaf0_6/python.exe
./Users/joepareti/Miniconda3/python.exe
-- 
Regards,
Joseph Pareti - Artificial Intelligence consultant
Joseph Pareti's AI Consulting Services
https://www.joepareti54-ai.com/
cell +49 1520 1600 209
cell +39 339 797 0644


More information about the Python-list mailing list