简体   繁体   中英

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. The virtualenv is setup correctly. However, I cannot install 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM