简体   繁体   中英

Installing packages with older version of Python

I have Python 3.7, which currently doesn't support Tensorflow.

So I installed Python 3.6.7, went to the command line and typed in py -m pip install tensorflow , and still got the same error:

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

What can I do ensure that I'm trying to install Tensorflow using Python 3.6.7?

Browsing the documentation: https://docs.python.org/3/installing/index.html

The solution is to invoke version 3.6 by specifying it as follows:

py -3.6 -m pip install tensorflow

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