[python] 安装TensorFlow问题 解决Cannot uninstall 'wrapt'. It is a distutils installed project

cmd安装 pip install tensorflow

1.遇到了

ERROR: Cannot uninstall ‘wrapt‘. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

办法1:输入 pip install -U --ignore-installed wrapt enum34 simplejson netaddr

参考:https://www.cnblogs.com/xiaowei2092/p/11025155.html

2.遇到了

ERROR: tensorboard 1.14.0 has requirement setuptools>=41.0.0, but you‘ll have setuptools 39.1.0 which is incompatible.

原因: setuptools 版本太低

办法:更新setuptools版本 输入 pip install --upgrade setuptools

[python] 安装TensorFlow问题 解决Cannot uninstall 'wrapt'. It is a distutils installed project

原文地址:https://www.cnblogs.com/conver/p/11141176.html

时间: 2024-11-08 05:55:48

[python] 安装TensorFlow问题 解决Cannot uninstall 'wrapt'. It is a distutils installed project的相关文章

安装TensorFlow中遇到 Cannot uninstall ‘wrapt‘

Installing collected packages: setuptools, markdown, protobuf, grpcio, tensorboard, wrapt, tensorflow-estimator, google-pasta, termcolor, astor, tensorflow  Found existing installation: setuptools 40.2.0    Uninstalling setuptools-40.2.0:      Succes

win10环境下使用python安装tensorflow

1.使用python安装TensorFlow,所以首先正确安装python且配置好环境变量. 经过多次安装测试,目前win10使用python3.5.4能够成功安装使用TensorFlow. 2.使用python自带的包管理工具pip进行安装tensorflow: 输入命令pip install --upgrade --ignore-installed https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0r

Cannot uninstall '*******'. It is a distutils installed project and thus we cannot accurately....解决办法

找到python以下路径: 然后再找到这个文件把它删除就可以了 可能的原因,可能之前的第三方库是通过离线文件方式安装的, 删除相应的egg-info后可以尝试解决. Cannot uninstall '*******'. It is a distutils installed project and thus we cannot accurately....解决办法 原文地址:https://www.cnblogs.com/ZHANG576433951/p/11147462.html

安装theano时候发现报错:cannot install ''numpy'.It is a distutils installed project and thus we cannot ...

发现我安装theano的时候需要numpy需要1.9以上版本,而我之前自带的numpy是1.8版本,所以版本有问题.根本原因是theano需要的numpy版本不符合要求,但是numpy已经安装过了,所以无法进行直接卸载.提供两个解决方法: 解决方法1:直接找到numpy的安装目录,直接通过sudo rm 去对文件夹进行删除.(如果找不到文件夹,可以通过下面截图方式,一般都在dist-packages目录下) 方法2:(强行安装更新更高的版本) sudo pip install numpy --i

Cannot uninstall '***'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

参考:https://github.com/blockstack/blockstack-core/issues/504 pip install --ignore-installed ${PACKAGE_NAME} Cannot uninstall '***'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead t

苹果电脑自带python安装tensorflow一直有问题

对于有些程序是不支持python3而支持python2的,为了在苹果电脑安装tensorflow, 首先sudo su到管理员权限 export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.4.0-py2-none-any.whl sudo pip install --upgrade $TF_BINARY_URL 安装成功 原文地址:https://www.cnblogs.com/Cuc

Microsoft Visual Studio 2015 python 安装 mysql-python 出错解决

Microsoft Visual Studio 2015 安装 python 连接包 mysql-python出错   第一种 pip安装方式 安装Microsoft Visual C++ Compiler for Python 2.7 安装后错误改变   无用 _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory   暂时未解决 第二种方式eas

python 安装surprise库解决 c++tools错误问题

利用pip安装 pip install numpy pip install scikit-surprise 安装出错: 因为surprise需要microsoft Visual C++ 14.0编译,所以需要安装这个库.下载地址:链接: https://pan.baidu.com/s/1_L4Hb-EFM6ksG8ZxD--WmQ密码: 5o98scikit-surprise安装方法:安装microsoft Visual C++ 14.0.exe后, 参考链接:http://www.piansh

Python: 安装 sklearn 包出现错误的解决方法

今天在安装python 的 sklearn 包时出现了 Cannot uninstall 'numpy' 和 Cannot uninstall 'scipy' 错误,下面记录了我尝试了很多网上的方法后最终成功的解决方法. 终端执行 pip install scikit-learn 后,出现 Cannot uninstall 'numpy'. It is a distutils installed project and thus we cannot accurately determine wh