Checklist
- [X] I added a descriptive title
- [X] I searched for other issues and couldn't find a solution or duplication
- [X] I already searched in Google and didn't find any good information or help
- [X] I looked at the docs and didn't see anything to help
What happened?
With channel_priority: strict
in my .condarc
, I get
UnsatisfiableError: The following specifications were found to be incompatible with each other
when creating a new environment, but, looking at the conflicts, I see none. No such problem arises with an empty .condarc
, and I experience no environment problems.
Conda info
active environment : base
active env location : /home/mwilkins/miniconda
shell level : 1
user config file : /home/mwilkins/.condarc
populated config files :
conda version : 4.13.0
conda-build version : not installed
python version : 3.10.5.final.0
virtual packages : __linux=4.14.157=0
__glibc=2.17=0
__unix=0=0
__archspec=1=x86_64
base environment : /home/mwilkins/miniconda (writable)
conda av data dir : /home/mwilkins/miniconda/etc/conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/mwilkins/miniconda/pkgs
/home/mwilkins/.conda/pkgs
envs directories : /home/mwilkins/miniconda/envs
/home/mwilkins/.conda/envs
platform : linux-64
user-agent : conda/4.13.0 requests/2.28.0 CPython/3.10.5 Linux/4.14.157-17.cernvm.x86_64 scientific/4.5.1.0 glibc/2.17
UID:GID : 540:551
netrc file : None
offline mode : False
Conda config
==> /home/mwilkins/.condarc <==
channel_priority: strict
channels:
- conda-forge
- bioconda
- defaults
Conda list
NB: I run the command to create a new environment from the base environment.
# packages in environment at /home/mwilkins/miniconda:
#
# Name Version Build Channel
_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 2_gnu conda-forge
black 22.3.0 pyhd8ed1ab_0 conda-forge
brotlipy 0.7.0 py310h5764c6d_1004 conda-forge
bzip2 1.0.8 h7f98852_4 conda-forge
c-ares 1.18.1 h7f98852_0 conda-forge
ca-certificates 2022.5.18.1 ha878542_0 conda-forge
certifi 2022.5.18.1 py310hff52083_0 conda-forge
cffi 1.15.0 py310h0fdd8cc_0 conda-forge
charset-normalizer 2.0.12 pyhd8ed1ab_0 conda-forge
click 8.1.3 py310hff52083_0 conda-forge
colorama 0.4.4 pyh9f0ad1d_0 conda-forge
conda 4.13.0 py310hff52083_1 conda-forge
conda-package-handling 1.8.1 py310h5764c6d_1 conda-forge
cryptography 37.0.2 py310h597c629_0 conda-forge
curl 7.83.1 h7bff187_0 conda-forge
dataclasses 0.8 pyhc8e2a94_3 conda-forge
expat 2.4.8 h27087fc_0 conda-forge
flake8 4.0.1 pyhd8ed1ab_2 conda-forge
gettext 0.19.8.1 h73d1719_1008 conda-forge
git 2.35.3 pl5321h36853c3_0 conda-forge
idna 3.3 pyhd8ed1ab_0 conda-forge
importlib-metadata 1.7.0 pyhd8ed1ab_1 conda-forge
importlib_metadata 1.7.0 hd8ed1ab_1 conda-forge
keyutils 1.6.1 h166bdaf_0 conda-forge
krb5 1.19.3 h3790be6_0 conda-forge
ld_impl_linux-64 2.36.1 hea4e1c9_2 conda-forge
libcurl 7.83.1 h7bff187_0 conda-forge
libedit 3.1.20191231 he28a2e2_2 conda-forge
libev 4.33 h516909a_1 conda-forge
libffi 3.4.2 h7f98852_5 conda-forge
libgcc-ng 12.1.0 h8d9b700_16 conda-forge
libgomp 12.1.0 h8d9b700_16 conda-forge
libiconv 1.16 h516909a_0 conda-forge
libnghttp2 1.47.0 h727a467_0 conda-forge
libnsl 2.0.0 h7f98852_0 conda-forge
libssh2 1.10.0 ha56f1ee_2 conda-forge
libstdcxx-ng 12.1.0 ha89aaad_16 conda-forge
libuuid 2.32.1 h7f98852_1000 conda-forge
libzlib 1.2.12 h166bdaf_0 conda-forge
mccabe 0.6.1 py_1 conda-forge
mypy_extensions 0.4.3 py310hff52083_5 conda-forge
ncurses 6.3 h27087fc_1 conda-forge
openssl 1.1.1o h166bdaf_0 conda-forge
pathspec 0.9.0 pyhd8ed1ab_0 conda-forge
pcre2 10.37 h032f7d1_0 conda-forge
perl 5.32.1 2_h7f98852_perl5 conda-forge
pip 22.1.2 pyhd8ed1ab_0 conda-forge
platformdirs 2.5.1 pyhd8ed1ab_0 conda-forge
pycodestyle 2.8.0 pyhd8ed1ab_0 conda-forge
pycosat 0.6.3 py310h5764c6d_1010 conda-forge
pycparser 2.21 pyhd8ed1ab_0 conda-forge
pydocstyle 6.1.1 pyhd8ed1ab_0 conda-forge
pyflakes 2.4.0 pyhd8ed1ab_0 conda-forge
pyopenssl 22.0.0 pyhd8ed1ab_0 conda-forge
pysocks 1.7.1 py310hff52083_5 conda-forge
python 3.10.5 h582c2e5_0_cpython conda-forge
python_abi 3.10 2_cp310 conda-forge
readline 8.1.2 h0f457ee_0 conda-forge
requests 2.28.0 pyhd8ed1ab_0 conda-forge
ruamel_yaml 0.15.80 py310h5764c6d_1007 conda-forge
setuptools 62.3.4 py310hff52083_0 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
snakefmt 0.6.1 pyhdfd78af_0 bioconda
snowballstemmer 2.2.0 pyhd8ed1ab_0 conda-forge
sqlite 3.38.5 h4ff8645_0 conda-forge
tk 8.6.12 h27826a3_0 conda-forge
toml 0.10.2 pyhd8ed1ab_0 conda-forge
tomli 2.0.1 pyhd8ed1ab_0 conda-forge
tqdm 4.64.0 pyhd8ed1ab_0 conda-forge
typed-ast 1.5.4 py310h5764c6d_0 conda-forge
typing_extensions 4.2.0 pyha770c72_1 conda-forge
tzdata 2022a h191b570_0 conda-forge
urllib3 1.26.9 pyhd8ed1ab_0 conda-forge
wheel 0.37.1 pyhd8ed1ab_0 conda-forge
xz 5.2.5 h516909a_1 conda-forge
yaml 0.2.5 h7f98852_2 conda-forge
zipp 3.8.0 pyhd8ed1ab_0 conda-forge
zlib 1.2.12 h166bdaf_0 conda-forge
Additional Context
Command:
conda env create
environment.yml
:
name: test
channels:
- bioconda
- conda-forge
dependencies:
- numpy=1.22.3
- snakemake=7.8.2
- xrootd=5.4.3
Output:
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 \
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:
xrootd=5.4.3 -> python_abi=3.8[build=*_cp38] -> python[version='3.10.*|3.8.*|3.7.*|3.9.*']
snakemake=7.8.2 -> aioeasywebdav -> python[version='2.7.*|3.5.*|3.6.*|>=3.6|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.7|>=2.7|3.4.*|>=3.10,<3.11.0a0|>=2.7,
<2.8.0a0|>=3.5,<3.6.0a0|2.7.*|>=3.4|>=3.7.1,<3.8.0a0|>=3.5|2.7.*|>=3.6']
xrootd=5.4.3 -> python[version='>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.9,<3.10.0a0']
numpy=1.22.3 -> python[version='>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
numpy=1.22.3 -> python_abi=3.8[build=*_cp38] -> python[version='2.7.*|3.10.*|3.8.*|3.9.*|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=2.7,<2.8.0a0|3.6.*|3.5.*|>=3.5,<3.6.0a0']
Package openssl conflicts for:
numpy=1.22.3 -> pypy3.9[version='>=7.3.9'] -> openssl[version='>=1.1.1a,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1
.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1n,<1.1.2a|>=3.0.2,<4.0a0|>=3.0.3,<4.0a0|>=1.1.1o,<1.1.2a|>=3.0.0,<4.0a0|>=1.1.1m,<1.1.2a']
xrootd=5.4.3 -> openssl[version='>=1.1.1o,<1.1.2a|>=3.0.3,<4.0a0']
xrootd=5.4.3 -> krb5[version='>=1.19.3,<1.20.0a0'] -> openssl[version='>=1.0.2o,<1.0.3a|>=1.0.2p,<1.0.3a|>=1.1.1a,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1
.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1l,<1.1.2a|>=3.0.0,<4.0a0|>=3.0.2,<4.0a0|>=1.1.1n,<1.1.2a|>=1.1.1m,<1.1.2a|>=1.1.1c,<1.1.2a|
>=1.1.1b,<1.1.2a']The following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.17=0
- feature:|@/linux-64::__glibc==2.17=0
- numpy=1.22.3 -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
- xrootd=5.4.3 -> __glibc[version='>=2.17,<3.0.a0']
Your installed version is: 2.17
Note that strict channel priority may have removed packages required for satisfiability.
You can see that python=3.9 and openssl=3.0.3 would satisfy the package requirements and that glibc 2.17, installed on my system, does in fact satisfy the requirements.
There is already a note about strict channel priority, but ultimately, this output is unhelpful for debugging.
I get conda by running miniconda.sh
from
wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
type::bug