I want to uninstall pytorch by using
conda uninstall pytorch
but after I has done this ,torch can be imort correctlly.
I use torch.file to see where is the torch,however the outcome is ‘None’.
just as
I want to uninstall pytorch by using
conda uninstall pytorch
but after I has done this ,torch can be imort correctlly.
I use torch.file to see where is the torch,however the outcome is ‘None’.
just as
Is your wdir
set to the pytorch source directory or are you in a folder containing a torch.py
file?
Also, does pip list
show any PyTorch installs?
Thank you very much.
There aren’t any torch.py files in the folder.When i try pip list
,it indicates that no torch or pytorch were installed in my computer.I will try to find anthor ways.
Thanks again.
That’s really strange. What does print(dir(torch))
return after importing it?