I can't find any command to uninstall and remove all PyTorch dependencies. Even on the pytorch.org website.
I installed PyTorch with
conda install pytorch torchvision cuda80 -c soumith
You can use torch. __version__ to check the version of PyTorch. If you have not imported PyTorch, use import torch first. If you used pip to install PyTorch, run pip3 show torch to show all the information of the installation, which also includes the version of PyTorch.
Open Terminal. Type and run conda install anaconda-clean to install the Anaconda-Clean package. Press the Return key, then type the following: anaconda-clean –yes. To remove the entire Anaconda directory, type and run rm -rf ~/anaconda3.
Anaconda. To install Anaconda, you will use the 64-bit graphical installer for PyTorch 3.x. Click on the installer link and select Run . Anaconda will download and the installer prompt will be presented to you.
From the anaconda docs, you can uninstall with conda uninstall
Try
conda uninstall pytorch torchvision cuda80 -c soumith
Alternatively, the pytorch docs suggest
conda uninstall pytorch pip uninstall torch pip uninstall torch # run this command twice
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With