mport pytorch fails on my windows 10 PC

Souvik Dutta souvik.viksou at gmail.com
Sun Mar 29 05:36:37 EDT 2020


Since it is not in the control panel, go to windows app execution aliases
and scroll down till you find python. Now toggle both of them and see if
this works.

On Sun, Mar 29, 2020, 2:53 PM joseph pareti <joepareti54 at gmail.com> wrote:

> All right, thx, but how to uninstall the 'other' python version?
>
> The control panel only shows python 3.7 which is what I am using.
>
> Am So., 29. März 2020 um 01:36 Uhr schrieb Souvik Dutta <
> souvik.viksou at gmail.com>:
>
>> Yes having two versions of python causes that problem.
>>
>> On Sat, 28 Mar, 2020, 11:53 pm joseph pareti, <joepareti54 at gmail.com>
>> wrote:
>>
>>> 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
>>> --
>>> https://mail.python.org/mailman/listinfo/python-list
>>>
>>
>
> --
> 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