tensorflow安装过程中报错:
export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl
sudo pip install --upgrade $TF_BINARY_URL
报错:
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0xe9f5210>: Failed to establish a new connection: [Errno 101] \xcd\xf8\xc2\xe7\xb2\xbb\xbf\xc9\xb4\xef',)': /tensorflow/linux/cpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl
解决办法:
1.直接将“https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl"通过浏览器下载得到
2.sudo pip install tensorflow-0.10.0-cp27-none-linux_x86_64.whl
接下来出现新的问题:
安装numpy-1.11.1-cp27-cp27m-manylinux1_x86_64.whl由于速度过慢导致,总是中途报错退出:
ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out
解决办法:
1.直接在搜索引擎中搜索numpy-1.11.1-cp27-cp27m-manylinux1_x86_64.whl,下载下来,
2.sudo pip install numpy-1.11.1-cp27-cp27m-manylinux1_x86_64.whl
最终出现