我正在运行Mac OS 10.5(优胜美地),我只是设置了一个带有python 3.5的virtualenv来玩一点tensorflow。 virtualenv设置正确。但是,我无法安装tensorflow。我总是收到以下错误消息:
(tensorflow) Tom@MBP:~/tensorflow$ pip3 install --upgrade tensorflow
Collecting tensorflow
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow
或此错误:
(tensorflow) Tom@MBP:~/tensorflow$ pip3 install --upgrade \
> https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.5.0-py2-none-any.whl
tensorflow-1.5.0-py2-none-any.whl is not a supported wheel on this platform.
我实际上不明白这里发生了什么。
感谢任何帮助。谢谢
答案 0 :(得分:0)
尝试升级pip
以使用最新版本并查看是否有帮助:
pip3 install --upgrade pip