[英]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当我运行时,我正在尝试在 Linux 的 Windows 子系统(ubuntu 18.04)上使用“pipenv”
$ 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我按照其他一些说明说我必须安装 tensorflow,所以我安装了 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即使在安装 tensorflow 2.1.0 之后,我在运行时仍然遇到同样的错误
$ pipenv sync
What should I do to fix this problem?我应该怎么做才能解决这个问题?
检查您的 python 版本,python 3.8 不支持 TensorFlow 2.1 版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.