【发布时间】:2021-12-01 16:41:21
【问题描述】:
如何在 conda vertual 环境中安装旧版本的 Tensorflow?当我尝试这个命令时,我想要 Tensorflow-gpu 1.4:
conda install tensorflow-gpu=1.4
我在附图中看到了消息。
当我尝试conda create -n tf_1_4 python=3.6 tensorflow-gpu=1.4 时,我得到了这个:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package python conflicts for:
python=3.6
tensorflow-gpu=1.4 -> tensorflow-gpu-base==1.4.1 -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0']
The following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.26=0
- feature:|@/linux-64::__glibc==2.26=0
Your installed version is: 2.26
【问题讨论】:
-
也许可以尝试使用 Mamba - 我发现它可以提供更精确的诊断反馈。 stackoverflow.com/a/69137255/570918
标签: python tensorflow conda