安装TensorFlow时,为何无法卸载由distutils安装的`wrapt`包?
- 内容介绍
- 文章标签
- 相关推荐
本文共计308个文字,预计阅读时间需要2分钟。
我在安装pip install tensorflow时遇到了问题,错误信息显示Cannot uninstall 'wrapt'。It is a distutils installed project,解决方法是运行pip install -U --ignore-installed wrapt。
我在安装 pip install tensorflow时遇到了这样的问题,报错如标题wrapt不能导入
问题:ERROR: Cannot uninstall 'wrapt'. It is a distutils installed project and thu2
解决方案:
pip install -U --ignore-installed wrapt enum34 simplejson netaddr
安装好后,再用pip install tensorflow就安装好了。
顺便介绍一下镜像源的修改,因为我在解决问题时想过是不是镜像源问题。
本文共计308个文字,预计阅读时间需要2分钟。
我在安装pip install tensorflow时遇到了问题,错误信息显示Cannot uninstall 'wrapt'。It is a distutils installed project,解决方法是运行pip install -U --ignore-installed wrapt。
我在安装 pip install tensorflow时遇到了这样的问题,报错如标题wrapt不能导入
问题:ERROR: Cannot uninstall 'wrapt'. It is a distutils installed project and thu2
解决方案:
pip install -U --ignore-installed wrapt enum34 simplejson netaddr
安装好后,再用pip install tensorflow就安装好了。
顺便介绍一下镜像源的修改,因为我在解决问题时想过是不是镜像源问题。

