问题描述:
安装TensorFlow后Pycharm报错:
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
解决方案
第一步 查看版本
TensorFlow安装过程中如果出现这些问题,一般是因为Python的版本过高。
使用指令:python --version 查看当前使用的Python版本
TensorFlow支持的Python版本只到python3.5,如图中的Python版本明显过高。
第二步 更改版本
现在有两种解决方案:
第一种:
把当前的Python卸载掉,安装python3.5
第二种:
指定安装支持高版本Python的TensorFlow
使用指令:
python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.0-py3-none-any.whl