How can l uninstall PyTorch?

后端 未结 6 1104
走了就别回头了
走了就别回头了 2020-12-17 10:04

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 p         


        
6条回答
  •  渐次进展
    2020-12-17 10:35

    I recently found a good tool!

    pip install pip-autoremove
    

    This tool can delete all the tools you need to delete. For example, if you need to delete the torch, then it can delete torchvision as well!

    Usage: pip-autoremove [OPTION]... [NAME]...
    
    Options:
      --version     show program's version number and exit
      -h, --help    show this help message and exit
      -l, --list    list unused dependencies, but don't uninstall them.
      -L, --leaves  list leaves (packages which are not used by any others).
      -y, --yes     don't ask for confirmation of uninstall deletions.
    

提交回复
热议问题