简体   繁体   中英

ERROR: Could not find a version that satisfies the requirement tensorflow==2.1.0 and No matching distribution found for tensorflow==2.1.0

I am trying to use 'pipenv' on Windows Subsystem for Linux (ubuntu 18.04) When I run

$ pipenv sync

I am getting this error :

[pipenv.exceptions.InstallError]: ['ERROR: Could not find a version that satisfies the requirement 
tensorflow==2.1.0 (from -r /tmp/pipenv-gy0uz1a7-requirements/pipenv-glre38t7-requirement.txt (line 1))
(from versions: 2.2.0rc1, 2.2.0rc2)', 'ERROR: No matching distribution found for tensorflow==2.1.0 
(from -r /tmp/pipenv-gy0uz1a7-requirements/pipenv-glre38t7-requirement.txt (line 1))']

I followed some other instructions that say I have to install tensorflow, so I installed tensorflow

$ pip install --upgrade pip
$ pip install tensorflow==2.1.0

Even after installing tensorflow 2.1.0 I am still getting the same error when I run

$ pipenv sync

What should I do to fix this problem?

检查您的 python 版本,python 3.8 不支持 TensorFlow 2.1 版本。

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