I'm trying to create a new conda enviornment with tensorflow (GPU), version 1.4.1 with the following command conda create -n parsim_1.4.1 python=3 tensorflow-gpu=1.4.1
.
However, it prints a weird conflict:
$ conda create -n parsim_1.4.1 python=3 tensorflow-gpu=1.4.1
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
tensorflow-gpu=1.4.1 -> 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.17=0
- python=3 -> libgcc-ng[version='>=9.3.0'] -> __glibc[version='>=2.17']
Your installed version is: 2.17
My OS is CentOS7, and
$ uname -a
Linux cpu-s-master 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
What's wrong here? How can I fix it?
EDIT
Thanks to @merv's comment, I've tried with Mamba, and indeed it gave better error message (and much much faster). If anyone's interested, that's the command that successfully installed my required versions:
mamba create -n parsim python=3 "tensorflow-gpu=1.4" pillow opencv -c shuangnan -c anaconda