从Anaconda环境卸载TensorFlow

Mak*_*aki 5 anaconda conda tensorflow

有谁知道如何从Anaconda环境卸载TensorFlow?我想将TensorFlow升级到ver.1.4的最新版本,但效果不佳.所以我想卸载它然后安装最新版本.

Max*_* S. 13

您可以使用该conda remove命令删除包.所以对于TensorFlow来说,这将是conda remove tensorflow.


小智 8

如果您已使用pip安装,请使用:

pip uninstall tensorflow 
Run Code Online (Sandbox Code Playgroud)


jav*_*vac 5

以下帮助我在使用conda remove tensorflow和 之后完全删除了 Tensorflowpip uninstall tensorflow

python3 -m pip uninstall protobuf 
python3 -m pip uninstall tensorflow   
python3 -m pip uninstall tensorflow-gpu
Run Code Online (Sandbox Code Playgroud)