1棵癣、在執(zhí)行pip3 install tensorflow時出現(xiàn)錯誤:
ERROR: Exception:
Traceback (most recent call last):
File "/Users/mac/anaconda3/envs/tensorflow/lib/python3.5/site-packages/pip/_vendor/urllib3/response.py", line 360, in _error_catcher
yield
巴拉巴拉...
解決方法:pip --default-timeout=100 install -U tensorflow
(大概是因為網(wǎng)速問題橘券,導(dǎo)致超時間了)
2面殖、在執(zhí)行上述命令后,出現(xiàn)了新問題...
ERROR: Could not find a version that satisfies the requirement grpcio>=1.8.6 (from tensorflow) (from versions: none)
ERROR: No matching distribution found for grpcio>=1.8.6 (from tensorflow)
解決方案1:
輸入:python -m pip install --upgrade pip
解決方案2(分開安裝):
輸入:pip install protobuf
pip install grpcio-tools
總結(jié):安裝不成功的百分之九十的原因都可以歸結(jié)到渣網(wǎng)速雇卷!