[英]Python 3.5 virtualenv : pip3 installing tensorflow fails
I am running Mac OS 10.5 (Yosemite) and I just setup a virtualenv with python 3.5 to play a little bit with tensorflow. 我正在运行Mac OS 10.5(Yosemite),我只是用python 3.5设置了virtualenv来与tensorflow一起玩。 The virtualenv is setup correctly.
virtualenv已正确设置。 However, I cannot install tensorflow.
但是,我无法安装tensorflow。 I always get the following error messages:
我总是收到以下错误消息:
(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
or this error: 或此错误:
(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.
I actually do not understand what is happening here. 我实际上不明白这里发生了什么。
Any help is appreciated. 任何帮助表示赞赏。 Thanks
谢谢
尝试升级pip
以使用最新版本,看看是否有帮助:
pip3 install --upgrade pip
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.