,tensorflow安装tensorflow安装缓慢及报错解决方法

目录:

一、安装缓慢

二、卡在 Running setup.py bdist_wheel for grpcio ... 处的解决办法

三、报错:twisted 18.7.0 requires PyHamcrest>=1.9.0, which is not installed.

四、报错: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.

一、安装缓慢

详见:

https://www.cnblogs.com/hwh000/p/12366933.html

二、卡在 Running setup.py bdist_wheel for grpcio ... 处的解决办法

这是正在编译,只需要耐心等待即可!根据电脑配置不同,等待时间也不同,多则几个小时,少则几十分钟。

三、报错:twisted 18.7.0 requires PyHamcrest>=1.9.0, which is not installed.

只需要在命令行输入 pip install PyHamcrest==1.9.0 即可

四、报错: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.

只需要在命令行输入 pip install -U --ignore-installed wrapt enum34 simplejson netaddr -i https://pypi.mirrors.ustc.edu.cn/simple/ --default-timeout=1000000 即可,然后在重新下载安装tensorflow即可。