从 Anaconda 环境中卸载 TensorFlow

Uninstalling TensorFlow from Anaconda environment

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

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

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

pip uninstall tensorflow 

以下帮助我在使用 conda remove tensorflowpip uninstall tensorflow

后完全删除了 Tensorflow
python3 -m pip uninstall protobuf 
python3 -m pip uninstall tensorflow   
python3 -m pip uninstall tensorflow-gpu

如何从 Anaconda 环境中删除包

步骤1:open anaconda navigator 和select 要从中卸载软件包的环境

步骤2:left点击矩形框和select删除标记,最后点击应用按钮

可以通过
轻松卸载 conda uninstall tensorflow
来自蟒蛇