如何卸载PyTorch? [英] How can l uninstall PyTorch?
本文介绍了如何卸载PyTorch?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我找不到任何命令来卸载和删除所有PyTorch依赖项.甚至在 pytorch.org 网站上.
I can't find any command to uninstall and remove all PyTorch dependencies. Even on the pytorch.org website.
我用以下方法安装了PyTorch
I installed PyTorch with
conda install pytorch torchvision cuda80 -c soumith
推荐答案
来自 anaconda文档,您可以使用conda uninstall
尝试
conda uninstall pytorch torchvision cuda80 -c soumith
或者, pytorch文档建议
conda uninstall pytorch
pip uninstall torch
pip uninstall torch # run this command twice
这篇关于如何卸载PyTorch?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文