当我输入命令
pip uninstall keras
pip uninstall tensorflow
root@a26-03-06:/data01/yanan/keras# pip uninstall keras
DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
Skipping keras as it is not installed.
root@a26-03-06:/data01/yanan/keras# pip uninstall tensorflow
DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
Skipping tensorflow as it is not installed.
我在点子列表中找不到它们。当我导入它们时,它们存在。那么如何卸载它们?
python的版本是2.7。
答案 0 :(得分:1)
正如我在上面的评论中提到的,您的Pip包管理器与python3安装链接,您需要在python 2.7中进行更改,一种使用方法是使用
python -m pip unistall keras tensorflow
可以在Windows中使用,并且应该在Linux中使用。如果不起作用,请尝试分别卸载它们,而不是单个语句。