How can l uninstall PyTorch?

后端 未结 6 1076
走了就别回头了
走了就别回头了 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:18

    You can also use

    conda remove torch torchvision
    

    Please note that this will remove the specified packages (here: torch and torchvision) and any other package which depends on torch and torchvision, if there're any.

    P.S. conda uninstall is an alias to conda remove.

提交回复
热议问题