我检查了我的pip
版本并得到以下输出:
Requirement already up-to-date: pip in
./anaconda3/envs/runlee_python3/lib/python3.8/site-packages (20.1)
Run Code Online (Sandbox Code Playgroud)
我有一个特定的情况,我必须使用 Tensorflow 的 1.15 版,但是当我尝试安装它时,似乎找不到这个特定的版本。
pip install tensorflow==1.15
ERROR: Could not find a version that satisfies the requirement tensorflow==1.15 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3)
ERROR: No matching distribution found for tensorflow==1.15
Run Code Online (Sandbox Code Playgroud)
列出所有可用选项时,我也找不到 1.15 版。
我错过了什么?
Fly*_*ler 44
您正在使用 python 3.8,当 tensorflow 版本为 1.15 时,它不受官方支持。您还可以检查 pypi,没有可用于 cp38 的文件,即使对于2.10,您的命令列出的版本也有可用的 cp38 whl 文件,请参见此处
既然你有 conda,只需创建一个具有所需版本的虚拟环境
conda create -n tf python=3.7
Run Code Online (Sandbox Code Playgroud)
然后在这个环境中安装 tensorflow
归档时间: |
|
查看次数: |
35294 次 |
最近记录: |