1.直接pip install tensorflow
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
下载速度非常慢,下载到96%(很稳定)会突然暴毙
所有才有下面的2
2.手动指定源
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ tensorflow
可以在tensorflow后面加两个等于号指定版本。。。我懒得指定
3.恩,2出问题了,有个'wrapt'的东西没办法删除,又报了错
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.
出了问题就要解决,于是有了下面的4
4.解决了
pip install -U --ignore-installed wrapt enum34 simplejson netaddr
更新一下版本,然后重复2