vin*_*nt 7 python ubuntu anaconda pytorch
我没有找到任何卸载和删除所有PyTorch依赖项的命令.甚至来自pytorch.org.
我安装了PyTorch
conda install pytorch torchvision cuda80 -c soumith
Run Code Online (Sandbox Code Playgroud)
wpe*_*rcy 17
从anaconda文档中,您可以使用conda uninstall
尝试
conda uninstall pytorch torchvision cuda80 -c soumith
Run Code Online (Sandbox Code Playgroud)
或者,pytorch文档建议
conda uninstall pytorch
pip uninstall torch
pip uninstall torch # run this command twice
Run Code Online (Sandbox Code Playgroud)
190*_*Man 10
根据来自 pytorch github repo 的CONTRIBUTING.md,这是正确的命令集:
卸载所有现有的 pytorch 安装
conda uninstall pytorch
pip uninstall torch
pip uninstall torch # run this command twice
Run Code Online (Sandbox Code Playgroud)
你也可以使用
conda remove torch torchvision
Run Code Online (Sandbox Code Playgroud)
请注意,这将删除指定的包(此处:torch和torchvision)以及任何其他依赖于torch和torchvision的包,如果有的话.
PS conda uninstall是别名conda remove.
| 归档时间: |
|
| 查看次数: |
38440 次 |
| 最近记录: |