简体   繁体   中英

Could not find a version that satisfies the requirement tensorflow>=1.7.0 (from versions: ) No matching distribution found for tensorflow>=1.7.0

I am trying to install tensorflow in my mac which is greater than version 1.7.0. While I am running the command:

pip3 install "tensorflow>=1.7.0" 

I am getting this error:

Could not find a version that satisfies the requirement tensorflow>=1.7.0 (from versions: ) No matching distribution found for tensorflow>=1.7.0

Any help is highly appreciated.

The above is because TensorFlow is only created to run on Python versions 3.6, 2.7 and 3.5. As your Python version is 3.7, pip cannot find any TF version which is compatible. Try degrading the Python version, or install Python version 3.6 separately and install TensorFlow in it by : pip3 install tensorflow .

Also, to manage different python versions you can use Anaconda environments. They are easy to use and have a separate conda package manager.

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