Mac上安装TensorFlow遇到两个ERROR
今天在Mac上安装Tensorflow的时候发现这两个ERROR。
ERROR: Could not find a version that satisfies the requirement tensorflow
ERROR: No matching distribution found for tensorflow
找了很多种方法比如:
pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.1-py2-none-any.whl
还有
pip install --upgrade TF_BINARY_URL # Python 2.7
pip3 install --upgrade TF_BINARY_URL # Python 3.Nc
都不管用,最后在 stackoverflow用了二楼的方法
python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl
才装好。同样碰到这种情况的朋友可以试试。