ContinuumIO / anaconda-issues

Anaconda issue tracking
646 stars 220 forks source link

Unable to install `conda-libmamba-solver` in a clean Anaconda Distribution install #13123

Open travishathaway opened 1 year ago

travishathaway commented 1 year ago

Checklist

Impacted product

What happened?

I am currently unable to install the conda-libmamba-solver in my base environment on a fresh installation of Anaconda Distribution (M1 Mac).

Trying to install this package resulted in the following output:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
Examining conflict for libtiff pillow lcms2 anaconda imagecodecs tifffile openjpeg libwebp lerc:   1%|▎                     | 6/444 [02:37<3:48:19, 31.28s/-

☝️ I did not wait for the command to finish running.

Expected behavior or outcome

This package should be able to install without any dependency resolution errors.

Conda info

active environment : base
    active env location : /Users/ma-username/opt/anaconda3
            shell level : 1
       user config file : /Users/ma-username/.condarc
 populated config files : /Users/ma-username/.condarc
          conda version : 22.11.1
    conda-build version : 3.22.0
         python version : 3.9.13.final.0
       virtual packages : __archspec=1=x86_64
                          __osx=10.16=0
                          __unix=0=0
       base environment : /Users/ma-username/opt/anaconda3  (writable)
      conda av data dir : /Users/ma-username/opt/anaconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/ma-username/opt/anaconda3/pkgs
                          /Users/ma-username/.conda/pkgs
       envs directories : /Users/ma-username/opt/anaconda3/envs
                          /Users/ma-username/.conda/envs
               platform : osx-64
             user-agent : conda/22.11.1 requests/2.28.1 CPython/3.9.13 Darwin/21.3.0 OSX/10.16
                UID:GID : 501:20
             netrc file : None
           offline mode : False

Conda config

==> /Users/travishathaway/.condarc <==
channels:
  - defaults
solver: classic

Conda list

# packages in environment at /Users/ma-username/opt/anaconda3:
#
# Name                    Version                   Build  Channel
_ipyw_jlab_nb_ext_conf    0.1.0            py39hecd8cb5_1    defaults
alabaster                 0.7.12             pyhd3eb1b0_0    defaults
anaconda                  2022.10                  py39_0    defaults
anaconda-client           1.11.0           py39hecd8cb5_0    defaults
anaconda-navigator        2.3.1            py39hecd8cb5_0    defaults
anaconda-project          0.11.1           py39hecd8cb5_0    defaults
anyio                     3.5.0            py39hecd8cb5_0    defaults
appdirs                   1.4.4              pyhd3eb1b0_0    defaults
applaunchservices         0.3.0            py39hecd8cb5_0    defaults
appnope                   0.1.2           py39hecd8cb5_1001    defaults
appscript                 1.1.2            py39h9ed2024_0    defaults
argon2-cffi               21.3.0             pyhd3eb1b0_0    defaults
argon2-cffi-bindings      21.2.0           py39hca72f7f_0    defaults
arrow                     1.2.2              pyhd3eb1b0_0    defaults
astroid                   2.11.7           py39hecd8cb5_0    defaults
astropy                   5.1              py39h67323c0_0    defaults
atomicwrites              1.4.0                      py_0    defaults
attrs                     21.4.0             pyhd3eb1b0_0    defaults
automat                   20.2.0                     py_0    defaults
autopep8                  1.6.0              pyhd3eb1b0_1    defaults
babel                     2.9.1              pyhd3eb1b0_0    defaults
backcall                  0.2.0              pyhd3eb1b0_0    defaults
backports                 1.1                pyhd3eb1b0_0    defaults
backports.functools_lru_cache 1.6.4              pyhd3eb1b0_0    defaults
backports.tempfile        1.0                pyhd3eb1b0_1    defaults
backports.weakref         1.0.post1                  py_1    defaults
bcrypt                    3.2.0            py39hca72f7f_1    defaults
beautifulsoup4            4.11.1           py39hecd8cb5_0    defaults
binaryornot               0.4.4              pyhd3eb1b0_1    defaults
bitarray                  2.5.1            py39hca72f7f_0    defaults
bkcharts                  0.2              py39hecd8cb5_1    defaults
black                     22.6.0           py39hecd8cb5_0    defaults
blas                      1.0                         mkl    defaults
bleach                    4.1.0              pyhd3eb1b0_0    defaults
blosc                     1.21.0               h8346a28_1    defaults
bokeh                     2.4.3            py39hecd8cb5_0    defaults
boto3                     1.24.28          py39hecd8cb5_0    defaults
botocore                  1.27.28          py39hecd8cb5_0    defaults
bottleneck                1.3.5            py39h67323c0_0    defaults
brotli                    1.0.9                hca72f7f_7    defaults
brotli-bin                1.0.9                hca72f7f_7    defaults
brotlipy                  0.7.0           py39h9ed2024_1003    defaults
brunsli                   0.1                  h23ab428_0    defaults
bzip2                     1.0.8                h1de35cc_0    defaults
c-ares                    1.18.1               hca72f7f_0    defaults
ca-certificates           2022.07.19           hecd8cb5_0    defaults
cctools                   949.0.1             h9abeeb2_25    defaults
cctools_osx-64            949.0.1             hc7db93f_25    defaults
certifi                   2022.9.24        py39hecd8cb5_0    defaults
cffi                      1.15.1           py39hc55c11b_0    defaults
cfitsio                   3.470                hbd21bf8_7    defaults
chardet                   4.0.0           py39hecd8cb5_1003    defaults
charls                    2.2.0                h23ab428_0    defaults
charset-normalizer        2.0.4              pyhd3eb1b0_0    defaults
click                     8.0.4            py39hecd8cb5_0    defaults
cloudpickle               2.0.0              pyhd3eb1b0_0    defaults
clyent                    1.2.2            py39hecd8cb5_1    defaults
colorama                  0.4.5            py39hecd8cb5_0    defaults
colorcet                  3.0.0            py39hecd8cb5_0    defaults
conda                     22.11.1          py39hecd8cb5_4    defaults
conda-build               3.22.0           py39hecd8cb5_0    defaults
conda-content-trust       0.1.3            py39hecd8cb5_0    defaults
conda-env                 2.6.0                         1    defaults
conda-pack                0.6.0              pyhd3eb1b0_0    defaults
conda-package-handling    2.0.2            py39hecd8cb5_0    defaults
conda-package-streaming   0.7.0            py39hecd8cb5_0    defaults
conda-repo-cli            1.0.27           py39hecd8cb5_0    defaults
conda-token               0.4.0              pyhd3eb1b0_0    defaults
conda-verify              3.4.2                      py_1    defaults
constantly                15.1.0             pyh2b92418_0    defaults
cookiecutter              1.7.3              pyhd3eb1b0_0    defaults
cryptography              37.0.1           py39hf6deb26_0    defaults
cssselect                 1.1.0              pyhd3eb1b0_0    defaults
curl                      7.84.0               hca72f7f_0    defaults
cycler                    0.11.0             pyhd3eb1b0_0    defaults
cython                    0.29.32          py39he9d5cce_0    defaults
cytoolz                   0.11.0           py39h9ed2024_0    defaults
daal4py                   2021.6.0         py39h01d92e1_1    defaults
dal                       2021.6.0           haf03e11_929    defaults
dask                      2022.7.0         py39hecd8cb5_0    defaults
dask-core                 2022.7.0         py39hecd8cb5_0    defaults
dataclasses               0.8                pyh6d0b6a4_7    defaults
datashader                0.14.1           py39hecd8cb5_0    defaults
datashape                 0.5.4            py39hecd8cb5_1    defaults
debugpy                   1.5.1            py39he9d5cce_0    defaults
decorator                 5.1.1              pyhd3eb1b0_0    defaults
defusedxml                0.7.1              pyhd3eb1b0_0    defaults
diff-match-patch          20200713           pyhd3eb1b0_0    defaults
dill                      0.3.4              pyhd3eb1b0_0    defaults
distributed               2022.7.0         py39hecd8cb5_0    defaults
docutils                  0.18.1           py39hecd8cb5_3    defaults
entrypoints               0.4              py39hecd8cb5_0    defaults
et_xmlfile                1.1.0            py39hecd8cb5_0    defaults
fftw                      3.3.9                h9ed2024_1    defaults
filelock                  3.6.0              pyhd3eb1b0_0    defaults
flake8                    4.0.1              pyhd3eb1b0_1    defaults
flask                     1.1.2              pyhd3eb1b0_0    defaults
fonttools                 4.25.0             pyhd3eb1b0_0    defaults
freetype                  2.11.0               hd8bbffd_0    defaults
fsspec                    2022.7.1         py39hecd8cb5_0    defaults
future                    0.18.2           py39hecd8cb5_1    defaults
gensim                    4.1.2            py39he9d5cce_0    defaults
gettext                   0.21.0               h7535e17_0    defaults
giflib                    5.2.1                haf1e3a3_0    defaults
glib                      2.69.1               h8346a28_1    defaults
glob2                     0.7                pyhd3eb1b0_0    defaults
gmp                       6.2.1                he9d5cce_3    defaults
gmpy2                     2.1.2            py39hd5de756_0    defaults
greenlet                  1.1.1            py39h23ab428_0    defaults
gst-plugins-base          1.14.0               h4180768_2    defaults
gstreamer                 1.14.0               h0fc69c2_2    defaults
h5py                      3.7.0            py39h4a1dd59_0    defaults
hdf5                      1.10.6               h10fe05b_1    defaults
heapdict                  1.0.1              pyhd3eb1b0_0    defaults
holoviews                 1.15.0           py39hecd8cb5_0    defaults
hvplot                    0.8.0            py39hecd8cb5_0    defaults
hyperlink                 21.0.0             pyhd3eb1b0_0    defaults
icu                       58.2                 h0a44026_3    defaults
idna                      3.3                pyhd3eb1b0_0    defaults
imagecodecs               2021.8.26        py39h0f85e6e_1    defaults
imageio                   2.19.3           py39hecd8cb5_0    defaults
imagesize                 1.4.1            py39hecd8cb5_0    defaults
importlib-metadata        4.11.3           py39hecd8cb5_0    defaults
importlib_metadata        4.11.3               hd3eb1b0_0    defaults
incremental               21.3.0             pyhd3eb1b0_0    defaults
inflection                0.5.1            py39hecd8cb5_0    defaults
iniconfig                 1.1.1              pyhd3eb1b0_0    defaults
intake                    0.6.5              pyhd3eb1b0_0    defaults
intel-openmp              2021.4.0          hecd8cb5_3538    defaults
intervaltree              3.1.0              pyhd3eb1b0_0    defaults
ipykernel                 6.15.2           py39hecd8cb5_0    defaults
ipython                   7.31.1           py39hecd8cb5_1    defaults
ipython_genutils          0.2.0              pyhd3eb1b0_1    defaults
ipywidgets                7.6.5              pyhd3eb1b0_1    defaults
isort                     5.9.3              pyhd3eb1b0_0    defaults
itemadapter               0.3.0              pyhd3eb1b0_0    defaults
itemloaders               1.0.4              pyhd3eb1b0_1    defaults
itsdangerous              2.0.1              pyhd3eb1b0_0    defaults
jdcal                     1.4.1              pyhd3eb1b0_0    defaults
jedi                      0.18.1           py39hecd8cb5_1    defaults
jellyfish                 0.9.0            py39hca72f7f_0    defaults
jinja2                    2.11.3             pyhd3eb1b0_0    defaults
jinja2-time               0.2.0              pyhd3eb1b0_3    defaults
jmespath                  0.10.0             pyhd3eb1b0_0    defaults
joblib                    1.1.0              pyhd3eb1b0_0    defaults
jpeg                      9e                   hca72f7f_0    defaults
jq                        1.6               h9ed2024_1000    defaults
json5                     0.9.6              pyhd3eb1b0_0    defaults
jsonschema                4.16.0           py39hecd8cb5_0    defaults
jupyter                   1.0.0            py39hecd8cb5_8    defaults
jupyter_client            7.3.4            py39hecd8cb5_0    defaults
jupyter_console           6.4.3              pyhd3eb1b0_0    defaults
jupyter_core              4.11.1           py39hecd8cb5_0    defaults
jupyter_server            1.18.1           py39hecd8cb5_0    defaults
jupyterlab                3.4.4            py39hecd8cb5_0    defaults
jupyterlab_pygments       0.1.2                      py_0    defaults
jupyterlab_server         2.10.3             pyhd3eb1b0_1    defaults
jupyterlab_widgets        1.0.0              pyhd3eb1b0_1    defaults
jxrlib                    1.1                  haf1e3a3_2    defaults
keyring                   23.4.0           py39hecd8cb5_0    defaults
kiwisolver                1.4.2            py39he9d5cce_0    defaults
krb5                      1.19.2               hcd88c3b_0    defaults
lazy-object-proxy         1.6.0            py39h9ed2024_0    defaults
lcms2                     2.12                 hf1fd2bf_0    defaults
ld64                      530                 h20443b4_25    defaults
ld64_osx-64               530                 h70f3046_25    defaults
ldid                      2.1.2                h2d21305_2    defaults
lerc                      3.0                  he9d5cce_0    defaults
libaec                    1.0.4                hb1e8313_1    defaults
libarchive                3.6.1                he336d3b_0    defaults
libbrotlicommon           1.0.9                hca72f7f_7    defaults
libbrotlidec              1.0.9                hca72f7f_7    defaults
libbrotlienc              1.0.9                hca72f7f_7    defaults
libclang                  12.0.0          default_hbc2896b_2    defaults
libcurl                   7.84.0               h6dfd666_0    defaults
libcxx                    14.0.6               h9765a3e_0    defaults
libdeflate                1.8                  h9ed2024_5    defaults
libedit                   3.1.20210910         hca72f7f_0    defaults
libev                     4.33                 h9ed2024_1    defaults
libffi                    3.3                  hb1e8313_2    defaults
libgfortran               5.0.0           11_2_0_h246ff09_26    defaults
libgfortran5              11.2.0              h246ff09_26    defaults
libiconv                  1.16                 hca72f7f_2    defaults
libidn2                   2.3.2                h9ed2024_0    defaults
liblief                   0.11.5               he9d5cce_1    defaults
libllvm11                 11.1.0               h46f1229_5    defaults
libllvm12                 12.0.0               h9b2ccf5_3    defaults
libllvm14                 14.0.6               he552d86_0    defaults
libnghttp2                1.46.0               ha29bfda_0    defaults
libpng                    1.6.37               ha441bb4_0    defaults
libpq                     12.9                 h1c9f633_3    defaults
libsodium                 1.0.18               h1de35cc_0    defaults
libspatialindex           1.9.3                h23ab428_0    defaults
libssh2                   1.10.0               h0a4fc7d_0    defaults
libtiff                   4.4.0                h2ef1027_0    defaults
libunistring              0.9.10               h9ed2024_0    defaults
libwebp                   1.2.2                h56c3ce4_0    defaults
libwebp-base              1.2.2                hca72f7f_0    defaults
libxml2                   2.9.14               hbf8cd5e_0    defaults
libxslt                   1.1.35               h5b33f42_0    defaults
libzopfli                 1.0.3                hb1e8313_0    defaults
llvm-openmp               14.0.6               h0dcd299_0    defaults
llvmlite                  0.38.0           py39h8346a28_0    defaults
locket                    1.0.0            py39hecd8cb5_0    defaults
lxml                      4.9.1            py39h65b224f_0    defaults
lz4                       3.1.3            py39h9ed2024_0    defaults
lz4-c                     1.9.3                h23ab428_1    defaults
lzo                       2.10                 haf1e3a3_2    defaults
markdown                  3.3.4            py39hecd8cb5_0    defaults
markupsafe                2.0.1            py39h9ed2024_0    defaults
matplotlib                3.5.2            py39hecd8cb5_0    defaults
matplotlib-base           3.5.2            py39hfb0c5b7_0    defaults
matplotlib-inline         0.1.6            py39hecd8cb5_0    defaults
mccabe                    0.7.0              pyhd3eb1b0_0    defaults
mistune                   0.8.4           py39h9ed2024_1000    defaults
mkl                       2021.4.0           hecd8cb5_637    defaults
mkl-service               2.4.0            py39h9ed2024_0    defaults
mkl_fft                   1.3.1            py39h4ab4a9b_0    defaults
mkl_random                1.2.2            py39hb2f4e1b_0    defaults
mock                      4.0.3              pyhd3eb1b0_0    defaults
mpc                       1.1.0                h6ef4df4_1    defaults
mpfr                      4.0.2                h9066e36_1    defaults
mpi                       1.0                       mpich    defaults
mpich                     3.3.2                external_0    defaults
mpmath                    1.2.1            py39hecd8cb5_0    defaults
msgpack-python            1.0.3            py39haf03e11_0    defaults
multipledispatch          0.6.0            py39hecd8cb5_0    defaults
munkres                   1.1.4                      py_0    defaults
mypy_extensions           0.4.3            py39hecd8cb5_1    defaults
navigator-updater         0.3.0            py39hecd8cb5_0    defaults
nbclassic                 0.3.5              pyhd3eb1b0_0    defaults
nbclient                  0.5.13           py39hecd8cb5_0    defaults
nbconvert                 6.4.4            py39hecd8cb5_0    defaults
nbformat                  5.5.0            py39hecd8cb5_0    defaults
ncurses                   6.3                  hca72f7f_3    defaults
nest-asyncio              1.5.5            py39hecd8cb5_0    defaults
networkx                  2.8.4            py39hecd8cb5_0    defaults
nltk                      3.7                pyhd3eb1b0_0    defaults
nose                      1.3.7           pyhd3eb1b0_1008    defaults
notebook                  6.4.12           py39hecd8cb5_0    defaults
nspr                      4.33                 he9d5cce_0    defaults
nss                       3.74                 h47edf6a_0    defaults
numba                     0.55.1           py39hae1ba45_0    defaults
numexpr                   2.8.3            py39h2e5f0a9_0    defaults
numpy                     1.21.5           py39h2e5f0a9_3    defaults
numpy-base                1.21.5           py39h3b1a694_3    defaults
numpydoc                  1.4.0            py39hecd8cb5_0    defaults
olefile                   0.46               pyhd3eb1b0_0    defaults
oniguruma                 6.9.7.1              h9ed2024_0    defaults
openjpeg                  2.4.0                h66ea3da_0    defaults
openpyxl                  3.0.10           py39hca72f7f_0    defaults
openssl                   1.1.1q               hca72f7f_0    defaults
packaging                 21.3               pyhd3eb1b0_0    defaults
pandas                    1.4.4            py39he9d5cce_0    defaults
pandocfilters             1.5.0              pyhd3eb1b0_0    defaults
panel                     0.13.1           py39hecd8cb5_0    defaults
param                     1.12.0             pyhd3eb1b0_0    defaults
parsel                    1.6.0            py39hecd8cb5_0    defaults
parso                     0.8.3              pyhd3eb1b0_0    defaults
partd                     1.2.0              pyhd3eb1b0_1    defaults
patch                     2.7.6             h1de35cc_1001    defaults
pathlib                   1.0.1              pyhd3eb1b0_1    defaults
pathspec                  0.9.0            py39hecd8cb5_0    defaults
patsy                     0.5.2            py39hecd8cb5_1    defaults
pcre                      8.45                 h23ab428_0    defaults
pep8                      1.7.1            py39hecd8cb5_1    defaults
pexpect                   4.8.0              pyhd3eb1b0_3    defaults
pickleshare               0.7.5           pyhd3eb1b0_1003    defaults
pillow                    9.2.0            py39hde71d04_1    defaults
pip                       22.2.2           py39hecd8cb5_0    defaults
pkginfo                   1.8.2              pyhd3eb1b0_0    defaults
platformdirs              2.5.2            py39hecd8cb5_0    defaults
plotly                    5.9.0            py39hecd8cb5_0    defaults
pluggy                    1.0.0            py39hecd8cb5_1    defaults
ply                       3.11             py39hecd8cb5_0    defaults
poyo                      0.5.0              pyhd3eb1b0_0    defaults
prometheus_client         0.14.1           py39hecd8cb5_0    defaults
prompt-toolkit            3.0.20             pyhd3eb1b0_0    defaults
prompt_toolkit            3.0.20               hd3eb1b0_0    defaults
protego                   0.1.16                     py_0    defaults
psutil                    5.9.0            py39hca72f7f_0    defaults
ptyprocess                0.7.0              pyhd3eb1b0_2    defaults
py                        1.11.0             pyhd3eb1b0_0    defaults
py-lief                   0.11.5           py39he9d5cce_1    defaults
pyasn1                    0.4.8              pyhd3eb1b0_0    defaults
pyasn1-modules            0.2.8                      py_0    defaults
pycodestyle               2.8.0              pyhd3eb1b0_0    defaults
pycosat                   0.6.3            py39h9ed2024_0    defaults
pycparser                 2.21               pyhd3eb1b0_0    defaults
pyct                      0.4.8            py39hecd8cb5_1    defaults
pycurl                    7.45.1           py39h0a4fc7d_0    defaults
pydispatcher              2.0.5            py39hecd8cb5_2    defaults
pydocstyle                6.1.1              pyhd3eb1b0_0    defaults
pyerfa                    2.0.0            py39h9ed2024_0    defaults
pyflakes                  2.4.0              pyhd3eb1b0_0    defaults
pygments                  2.11.2             pyhd3eb1b0_0    defaults
pyhamcrest                2.0.2              pyhd3eb1b0_2    defaults
pyjwt                     2.4.0            py39hecd8cb5_0    defaults
pylint                    2.14.5           py39hecd8cb5_0    defaults
pyls-spyder               0.4.0              pyhd3eb1b0_0    defaults
pyobjc-core               8.5              py39hc55c11b_0    defaults
pyobjc-framework-cocoa    8.5              py39hca72f7f_0    defaults
pyobjc-framework-coreservices 8.5              py39hca72f7f_0    defaults
pyobjc-framework-fsevents 8.5              py39hecd8cb5_0    defaults
pyodbc                    4.0.34           py39he9d5cce_0    defaults
pyopenssl                 22.0.0             pyhd3eb1b0_0    defaults
pyparsing                 3.0.9            py39hecd8cb5_0    defaults
pyqt                      5.15.7           py39he9d5cce_0    defaults
pyqt5-sip                 12.11.0          py39he9d5cce_0    defaults
pyqtwebengine             5.15.7           py39he9d5cce_0    defaults
pyrsistent                0.18.0           py39hca72f7f_0    defaults
pysocks                   1.7.1            py39hecd8cb5_0    defaults
pytables                  3.6.1            py39h648f197_1    defaults
pytest                    7.1.2            py39hecd8cb5_0    defaults
python                    3.9.13               hdfd78df_1    defaults
python-dateutil           2.8.2              pyhd3eb1b0_0    defaults
python-fastjsonschema     2.16.2           py39hecd8cb5_0    defaults
python-libarchive-c       2.9                pyhd3eb1b0_1    defaults
python-lsp-black          1.2.1            py39hecd8cb5_0    defaults
python-lsp-jsonrpc        1.0.0              pyhd3eb1b0_0    defaults
python-lsp-server         1.5.0            py39hecd8cb5_0    defaults
python-slugify            5.0.2              pyhd3eb1b0_0    defaults
python-snappy             0.6.0            py39h23ab428_3    defaults
python.app                3                py39hca72f7f_0    defaults
pytz                      2022.1           py39hecd8cb5_0    defaults
pyviz_comms               2.0.2              pyhd3eb1b0_0    defaults
pywavelets                1.3.0            py39hca72f7f_0    defaults
pyyaml                    6.0              py39hca72f7f_1    defaults
pyzmq                     23.2.0           py39he9d5cce_0    defaults
qdarkstyle                3.0.2              pyhd3eb1b0_0    defaults
qstylizer                 0.1.10             pyhd3eb1b0_0    defaults
qt                        5.15.9               hecd8cb5_0    defaults
qt-main                   5.15.2               h719ae48_7    defaults
qt-webengine              5.15.9               h90a370e_4    defaults
qtawesome                 1.0.3              pyhd3eb1b0_0    defaults
qtconsole                 5.3.2            py39hecd8cb5_0    defaults
qtpy                      2.2.0            py39hecd8cb5_0    defaults
qtwebkit                  5.212                h24dc246_4    defaults
queuelib                  1.5.0            py39hecd8cb5_0    defaults
readline                  8.1.2                hca72f7f_1    defaults
regex                     2022.7.9         py39hca72f7f_0    defaults
requests                  2.28.1           py39hecd8cb5_0    defaults
requests-file             1.5.1              pyhd3eb1b0_0    defaults
ripgrep                   13.0.0               hc2228c6_0    defaults
rope                      0.22.0             pyhd3eb1b0_0    defaults
rtree                     0.9.7            py39hecd8cb5_1    defaults
ruamel.yaml               0.17.21          py39hca72f7f_0    defaults
ruamel.yaml.clib          0.2.6            py39hca72f7f_1    defaults
ruamel_yaml               0.15.100         py39h9ed2024_0    defaults
s3transfer                0.6.0            py39hecd8cb5_0    defaults
scikit-image              0.19.2           py39hae1ba45_0    defaults
scikit-learn              1.0.2            py39hae1ba45_1    defaults
scikit-learn-intelex      2021.6.0         py39hecd8cb5_0    defaults
scipy                     1.9.1            py39h3d31255_0    defaults
scrapy                    2.6.2            py39hecd8cb5_0    defaults
seaborn                   0.11.2             pyhd3eb1b0_0    defaults
send2trash                1.8.0              pyhd3eb1b0_1    defaults
service_identity          18.1.0             pyhd3eb1b0_1    defaults
setuptools                63.4.1           py39hecd8cb5_0    defaults
sip                       6.6.2            py39he9d5cce_0    defaults
six                       1.16.0             pyhd3eb1b0_1    defaults
smart_open                5.2.1            py39hecd8cb5_0    defaults
snappy                    1.1.9                he9d5cce_0    defaults
sniffio                   1.2.0            py39hecd8cb5_1    defaults
snowballstemmer           2.2.0              pyhd3eb1b0_0    defaults
sortedcollections         2.1.0              pyhd3eb1b0_0    defaults
sortedcontainers          2.4.0              pyhd3eb1b0_0    defaults
soupsieve                 2.3.1              pyhd3eb1b0_0    defaults
sphinx                    5.0.2            py39hecd8cb5_0    defaults
sphinxcontrib-applehelp   1.0.2              pyhd3eb1b0_0    defaults
sphinxcontrib-devhelp     1.0.2              pyhd3eb1b0_0    defaults
sphinxcontrib-htmlhelp    2.0.0              pyhd3eb1b0_0    defaults
sphinxcontrib-jsmath      1.0.1              pyhd3eb1b0_0    defaults
sphinxcontrib-qthelp      1.0.3              pyhd3eb1b0_0    defaults
sphinxcontrib-serializinghtml 1.1.5              pyhd3eb1b0_0    defaults
spyder                    5.3.3            py39hecd8cb5_0    defaults
spyder-kernels            2.3.3            py39hecd8cb5_0    defaults
sqlalchemy                1.4.39           py39hca72f7f_0    defaults
sqlite                    3.39.3               h707629a_0    defaults
statsmodels               0.13.2           py39hca72f7f_0    defaults
sympy                     1.10.1           py39hecd8cb5_0    defaults
tabulate                  0.8.10           py39hecd8cb5_0    defaults
tapi                      1000.10.8            ha1b3eb9_0    defaults
tbb                       2021.6.0             haf03e11_0    defaults
tbb4py                    2021.6.0         py39haf03e11_0    defaults
tblib                     1.7.0              pyhd3eb1b0_0    defaults
tenacity                  8.0.1            py39hecd8cb5_1    defaults
terminado                 0.13.1           py39hecd8cb5_0    defaults
testpath                  0.6.0            py39hecd8cb5_0    defaults
text-unidecode            1.3                pyhd3eb1b0_0    defaults
textdistance              4.2.1              pyhd3eb1b0_0    defaults
threadpoolctl             2.2.0              pyh0d69192_0    defaults
three-merge               0.1.1              pyhd3eb1b0_0    defaults
tifffile                  2021.7.2           pyhd3eb1b0_2    defaults
tinycss                   0.4             pyhd3eb1b0_1002    defaults
tk                        8.6.12               h5d9f67b_0    defaults
tldextract                3.2.0              pyhd3eb1b0_0    defaults
toml                      0.10.2             pyhd3eb1b0_0    defaults
tomli                     2.0.1            py39hecd8cb5_0    defaults
tomlkit                   0.11.1           py39hecd8cb5_0    defaults
toolz                     0.11.2             pyhd3eb1b0_0    defaults
tornado                   6.1              py39h9ed2024_0    defaults
tqdm                      4.64.1           py39hecd8cb5_0    defaults
traitlets                 5.1.1              pyhd3eb1b0_0    defaults
twisted                   22.2.0           py39hca72f7f_1    defaults
typing-extensions         4.3.0            py39hecd8cb5_0    defaults
typing_extensions         4.3.0            py39hecd8cb5_0    defaults
tzdata                    2022c                h04d1e81_0    defaults
ujson                     5.4.0            py39he9d5cce_0    defaults
unidecode                 1.2.0              pyhd3eb1b0_0    defaults
unixodbc                  2.3.11               hb456775_0    defaults
urllib3                   1.26.11          py39hecd8cb5_0    defaults
w3lib                     1.21.0             pyhd3eb1b0_0    defaults
watchdog                  2.1.6            py39h999c104_0    defaults
wcwidth                   0.2.5              pyhd3eb1b0_0    defaults
webencodings              0.5.1            py39hecd8cb5_1    defaults
websocket-client          0.58.0           py39hecd8cb5_4    defaults
werkzeug                  2.0.3              pyhd3eb1b0_0    defaults
wget                      1.21.3               h6dfd666_0    defaults
whatthepatch              1.0.2            py39hecd8cb5_0    defaults
wheel                     0.37.1             pyhd3eb1b0_0    defaults
widgetsnbextension        3.5.2            py39hecd8cb5_0    defaults
wrapt                     1.14.1           py39hca72f7f_0    defaults
wurlitzer                 3.0.2            py39hecd8cb5_0    defaults
xarray                    0.20.1             pyhd3eb1b0_1    defaults
xlrd                      2.0.1              pyhd3eb1b0_0    defaults
xlsxwriter                3.0.3              pyhd3eb1b0_0    defaults
xlwings                   0.27.15          py39hecd8cb5_0    defaults
xz                        5.2.6                hca72f7f_0    defaults
yaml                      0.2.5                haf1e3a3_0    defaults
yapf                      0.31.0             pyhd3eb1b0_0    defaults
zeromq                    4.3.4                h23ab428_0    defaults
zfp                       0.5.5                he9d5cce_6    defaults
zict                      2.1.0            py39hecd8cb5_0    defaults
zipp                      3.8.0            py39hecd8cb5_0    defaults
zlib                      1.2.12               h4dc903c_3    defaults
zope                      1.0              py39hecd8cb5_1    defaults
zope.interface            5.4.0            py39h9ed2024_0    defaults
zstandard                 0.18.0           py39hca72f7f_0    defaults
zstd                      1.5.2                hcb37349_0    defaults

Additional information

Steps to reproduce

  1. Install latest Anaconda distribution (available here: https://www.anaconda.com/products/distribution)
  2. Update conda conda update conda
  3. Install conda-libmamba-solver conda install conda-libmamba-solver
travishathaway commented 1 year ago

@jezdez

mechanyx commented 1 year ago

I have the same issue on a fully patched Ubuntu 20.04 Intel 64 bit system. Solver ran for over 2 hours before exiting saying it couldn't install.

capac commented 1 year ago

I have the same issue on macOS Big Sur with a fresh install of Miniconda using Homebrew. conda install -n base conda-libmamba-solver will exit with an error output very similar to the one from @travishathaway.

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
\ failed

CondaError: KeyboardInterrupt

I didn't wait for the complete output.

travishathaway commented 1 year ago

@capac,

Would you mind sharing the output of conda list --name base?

The problem I'm having is related to the Anaconda distribution in particular and all the packages that come pre-bundled with it. This is what causes my dependency resolving to never complete. There is some sort of package incapability hiding in there.

But, in your case, a fresh Miniconda install should have very few dependencies in the base environment, enabling it to successfully resolve all dependencies and install conda-libmamba-solver. So, I'm just curious to see what is in your base environment, as that might be the cause of your problems.

capac commented 1 year ago

Here it is, as of today. I've only installed packages for data science analysis (from conda install pandas scikit-learn statsmodels seaborn numpy scipy matplotlib tensorflow xgboost catboost pytorch) and their dependencies.

# packages in environment at /usr/local/Caskroom/miniconda/base:
#
# Name                    Version                   Build  Channel
_py-xgboost-mutex         2.0                       cpu_0    defaults
_tflow_select             2.2.0                     eigen    defaults
abseil-cpp                20211102.0           he9d5cce_0    defaults
absl-py                   1.3.0           py310hecd8cb5_0    defaults
aiohttp                   3.8.3           py310h6c40b1e_0    defaults
aiosignal                 1.2.0              pyhd3eb1b0_0    defaults
astunparse                1.6.3                      py_0    defaults
async-timeout             4.0.2           py310hecd8cb5_0    defaults
attrs                     22.1.0          py310hecd8cb5_0    defaults
blas                      1.0                         mkl    defaults
blinker                   1.4             py310hecd8cb5_0    defaults
bottleneck                1.3.5           py310h4e76f89_0    defaults
brotli                    1.0.9                hca72f7f_7    defaults
brotli-bin                1.0.9                hca72f7f_7    defaults
brotlipy                  0.7.0           py310hca72f7f_1002    defaults
bzip2                     1.0.8                h1de35cc_0    defaults
c-ares                    1.18.1               hca72f7f_0    defaults
ca-certificates           2023.01.10           hecd8cb5_0    defaults
cachetools                4.2.2              pyhd3eb1b0_0    defaults
cairo                     1.16.0               h3ce6f7e_3    defaults
catboost                  1.0.6           py310hecd8cb5_1    defaults
certifi                   2022.12.7       py310hecd8cb5_0    defaults
cffi                      1.15.1          py310h6c40b1e_3    defaults
charset-normalizer        2.0.4              pyhd3eb1b0_0    defaults
click                     8.0.4           py310hecd8cb5_0    defaults
conda                     23.1.0          py310hecd8cb5_0    defaults
conda-content-trust       0.1.3           py310hecd8cb5_0    defaults
conda-package-handling    2.0.2           py310hecd8cb5_0    defaults
conda-package-streaming   0.7.0           py310hecd8cb5_0    defaults
contourpy                 1.0.5           py310haf03e11_0    defaults
cryptography              38.0.4          py310hf6deb26_0    defaults
cycler                    0.11.0             pyhd3eb1b0_0    defaults
expat                     2.4.9                he9d5cce_0    defaults
fftw                      3.3.9                h9ed2024_1    defaults
flatbuffers               2.0.0                h23ab428_0    defaults
flit-core                 3.6.0              pyhd3eb1b0_0    defaults
font-ttf-dejavu-sans-mono 2.37                 hd3eb1b0_0    defaults
font-ttf-inconsolata      2.001                hcb22688_0    defaults
font-ttf-source-code-pro  2.030                hd3eb1b0_0    defaults
font-ttf-ubuntu           0.83                 h8b1ccd4_0    defaults
fontconfig                2.14.1               hedf32ac_1    defaults
fonts-anaconda            1                    h8fa9717_0    defaults
fonts-conda-ecosystem     1                    hd3eb1b0_0    defaults
fonttools                 4.25.0             pyhd3eb1b0_0    defaults
freetype                  2.12.1               hd8bbffd_0    defaults
fribidi                   1.0.10               haf1e3a3_0    defaults
frozenlist                1.3.3           py310h6c40b1e_0    defaults
future                    0.18.2          py310hecd8cb5_1    defaults
gast                      0.4.0              pyhd3eb1b0_0    defaults
gdk-pixbuf                2.42.8               h90ff1d3_1    defaults
gettext                   0.21.0               h7535e17_0    defaults
giflib                    5.2.1                h6c40b1e_1    defaults
glib                      2.69.1               hfff2838_2    defaults
google-auth               2.6.0              pyhd3eb1b0_0    defaults
google-auth-oauthlib      0.4.4              pyhd3eb1b0_0    defaults
google-pasta              0.2.0              pyhd3eb1b0_0    defaults
graphite2                 1.3.14               he9d5cce_1    defaults
graphviz                  2.50.0               h196fa6a_0    defaults
grpc-cpp                  1.46.1               h067a048_0    defaults
grpcio                    1.42.0          py310ha29bfda_0    defaults
gts                       0.7.6                h6759243_3    defaults
h5py                      3.7.0           py310h6c517f8_0    defaults
harfbuzz                  4.3.0                h3f129a2_0    defaults
hdf5                      1.10.6               h10fe05b_1    defaults
icu                       58.2                 h0a44026_3    defaults
idna                      3.4             py310hecd8cb5_0    defaults
intel-openmp              2021.4.0          hecd8cb5_3538    defaults
joblib                    1.1.1           py310hecd8cb5_0    defaults
jpeg                      9e                   hca72f7f_0    defaults
keras                     2.10.0          py310hecd8cb5_0    defaults
keras-preprocessing       1.1.2              pyhd3eb1b0_0    defaults
kiwisolver                1.4.4           py310hcec6c5f_0    defaults
krb5                      1.19.4               hdba6334_0    defaults
lcms2                     2.12                 hf1fd2bf_0    defaults
lerc                      3.0                  he9d5cce_0    defaults
libbrotlicommon           1.0.9                hca72f7f_7    defaults
libbrotlidec              1.0.9                hca72f7f_7    defaults
libbrotlienc              1.0.9                hca72f7f_7    defaults
libcurl                   7.87.0               ha585b31_0    defaults
libcxx                    14.0.6               h9765a3e_0    defaults
libdeflate                1.8                  h9ed2024_5    defaults
libedit                   3.1.20221030         h6c40b1e_0    defaults
libev                     4.33                 h9ed2024_1    defaults
libffi                    3.4.2                hecd8cb5_6    defaults
libgd                     2.3.3                he7e2580_1    defaults
libgfortran               5.0.0           11_3_0_hecd8cb5_28    defaults
libgfortran5              11.3.0              h9dfd629_28    defaults
libiconv                  1.16                 hca72f7f_2    defaults
libnghttp2                1.46.0               ha29bfda_0    defaults
libpng                    1.6.37               ha441bb4_0    defaults
libprotobuf               3.20.1               h8346a28_0    defaults
librsvg                   2.54.4               h52d90eb_0    defaults
libssh2                   1.10.0               h0a4fc7d_0    defaults
libtiff                   4.5.0                h2cd0358_0    defaults
libtool                   2.4.6             hcec6c5f_1009    defaults
libwebp                   1.2.4                h56c3ce4_0    defaults
libwebp-base              1.2.4                hca72f7f_0    defaults
libxgboost                1.5.0                he9d5cce_2    defaults
libxml2                   2.9.14               hbf8cd5e_0    defaults
llvm-openmp               14.0.6               h0dcd299_0    defaults
lz4-c                     1.9.4                hcec6c5f_0    defaults
markdown                  3.4.1           py310hecd8cb5_0    defaults
markupsafe                2.1.1           py310hca72f7f_0    defaults
matplotlib                3.6.2           py310hecd8cb5_0    defaults
matplotlib-base           3.6.2           py310h220de94_0    defaults
mkl                       2021.4.0           hecd8cb5_637    defaults
mkl-service               2.4.0           py310hca72f7f_0    defaults
mkl_fft                   1.3.1           py310hf879493_0    defaults
mkl_random                1.2.2           py310hc081a56_0    defaults
multidict                 6.0.2           py310hca72f7f_0    defaults
munkres                   1.1.4                      py_0    defaults
ncurses                   6.4                  hcec6c5f_0    defaults
ninja                     1.10.2               hecd8cb5_5    defaults
ninja-base                1.10.2               haf03e11_5    defaults
numexpr                   2.8.4           py310h9638375_0    defaults
numpy                     1.23.5          py310h9638375_0    defaults
numpy-base                1.23.5          py310ha98c3c9_0    defaults
oauthlib                  3.2.1           py310hecd8cb5_0    defaults
openssl                   1.1.1s               hca72f7f_0    defaults
opt_einsum                3.3.0              pyhd3eb1b0_1    defaults
packaging                 22.0            py310hecd8cb5_0    defaults
pandas                    1.5.2           py310h3ea8b11_0    defaults
pango                     1.50.7               h80fe9ab_0    defaults
patsy                     0.5.3           py310hecd8cb5_0    defaults
pcre                      8.45                 h23ab428_0    defaults
pillow                    9.3.0           py310h81888ad_1    defaults
pip                       22.3.1          py310hecd8cb5_0    defaults
pixman                    0.40.0               h9ed2024_1    defaults
plotly                    5.9.0           py310hecd8cb5_0    defaults
pluggy                    1.0.0           py310hecd8cb5_1    defaults
protobuf                  3.20.1          py310he9d5cce_0    defaults
py-xgboost                1.5.0           py310hecd8cb5_2    defaults
pyasn1                    0.4.8              pyhd3eb1b0_0    defaults
pyasn1-modules            0.2.8                      py_0    defaults
pycosat                   0.6.4           py310hca72f7f_0    defaults
pycparser                 2.21               pyhd3eb1b0_0    defaults
pyjwt                     2.4.0           py310hecd8cb5_0    defaults
pyopenssl                 22.0.0             pyhd3eb1b0_0    defaults
pyparsing                 3.0.9           py310hecd8cb5_0    defaults
pysocks                   1.7.1           py310hecd8cb5_0    defaults
python                    3.10.9               h218abb5_0    defaults
python-dateutil           2.8.2              pyhd3eb1b0_0    defaults
python-flatbuffers        2.0                pyhd3eb1b0_0    defaults
python-graphviz           0.20.1          py310hecd8cb5_0    defaults
python.app                3               py310hca72f7f_0    defaults
pytorch                   1.12.1          cpu_py310ha26b6ec_0    defaults
pytz                      2022.7          py310hecd8cb5_0    defaults
pyyaml                    6.0             py310h6c40b1e_1    defaults
re2                       2022.04.01           he9d5cce_0    defaults
readline                  8.2                  hca72f7f_0    defaults
requests                  2.28.1          py310hecd8cb5_0    defaults
requests-oauthlib         1.3.0                      py_0    defaults
rsa                       4.7.2              pyhd3eb1b0_1    defaults
ruamel.yaml               0.17.21         py310hca72f7f_0    defaults
ruamel.yaml.clib          0.2.6           py310hca72f7f_1    defaults
scikit-learn              1.2.0           py310hcec6c5f_0    defaults
scipy                     1.9.3           py310h09290a1_0    defaults
seaborn                   0.12.2          py310hecd8cb5_0    defaults
setuptools                65.6.3          py310hecd8cb5_0    defaults
six                       1.16.0             pyhd3eb1b0_1    defaults
snappy                    1.1.9                he9d5cce_0    defaults
sqlite                    3.40.1               h880c91c_0    defaults
statsmodels               0.13.5          py310h7b7cdfe_0    defaults
tenacity                  8.0.1           py310hecd8cb5_1    defaults
tensorboard               2.10.0          py310hecd8cb5_0    defaults
tensorboard-data-server   0.6.1           py310h7242b5c_0    defaults
tensorboard-plugin-wit    1.6.0                      py_0    defaults
tensorflow                2.10.0          eigen_py310haa97f9e_0    defaults
tensorflow-base           2.10.0          eigen_py310h61e1807_0    defaults
tensorflow-estimator      2.10.0          py310hecd8cb5_0    defaults
termcolor                 2.1.0           py310hecd8cb5_0    defaults
threadpoolctl             2.2.0              pyh0d69192_0    defaults
tk                        8.6.12               h5d9f67b_0    defaults
toolz                     0.12.0          py310hecd8cb5_0    defaults
tornado                   6.2             py310hca72f7f_0    defaults
tqdm                      4.64.1          py310hecd8cb5_0    defaults
typing-extensions         4.4.0           py310hecd8cb5_0    defaults
typing_extensions         4.4.0           py310hecd8cb5_0    defaults
tzdata                    2022g                h04d1e81_0    defaults
urllib3                   1.26.14         py310hecd8cb5_0    defaults
werkzeug                  2.2.2           py310hecd8cb5_0    defaults
wheel                     0.35.1             pyhd3eb1b0_0    defaults
wrapt                     1.14.1          py310hca72f7f_0    defaults
xgboost                   1.5.0           py310hecd8cb5_2    defaults
xz                        5.2.10               h6c40b1e_1    defaults
yaml                      0.2.5                haf1e3a3_0    defaults
yarl                      1.8.1           py310hca72f7f_0    defaults
zlib                      1.2.13               h4dc903c_0    defaults
zstandard                 0.18.0          py310hca72f7f_0    defaults
zstd                      1.5.2                hcb37349_0    defaults

The .condarc settings in my home directory is the following:

channels:
  - defaults
channel_priority: strict
show_channel_urls: True
pip_interop_enabled: True
travishathaway commented 1 year ago

Hi @capac,

I have some practical advice to give regarding environments, it's always better to keep you base clear of most things (i.e. just conda itself plus things like conda-libmamba-solver that extend it) and to use named environments for actual work things.

I wouldn't be surprised if even with that humble list of dependencies in your base environments things already to start to slow down regarding dependency solving.

If you'd like to revert your base environment to a "clean" state, the easiest way to do that is by using the revisions feature. Here's an example of how to revert your base environment:

conda install --rev 0 --name base

I know that might not be the exact answer your are looking for, but I hope it makes your use of conda a little easier.

capac commented 1 year ago

Thanks for the advice. I've decided to keep the base environment free of packages except for the conda-libmamba-solver, which now installs without issue. I've kept conda to version 22.11.1. Updating to the latest version: 23.1.0 by running conda install conda=23.1.0 creates the same dependencies error messages that I listed above.

lucasresck commented 1 year ago

Thanks for the advice. I've decided to keep the base environment free of packages except for the conda-libmamba-solver, which now installs without issue. I've kept conda to version 22.11.1. Updating to the latest version: 23.1.0 by running conda install conda=23.1.0 creates the same dependencies error messages that I listed above.

After a clean Miniconda installation (Miniconda3-py310_22.11.1-1-Linux-x86_64) and running the command

conda update -n base conda

I would face conflicts when installing conda-libmamba-solver.

Downgrading conda from 23.1.0 to 22.11.1 solved for me.

travishathaway commented 1 year ago

Hi all,

Just a quick update. The Anaconda folks are aware of this and are currently preparing a fix. I will update once this goes out.

lucasresck commented 1 year ago

Thanks for the advice. I've decided to keep the base environment free of packages except for the conda-libmamba-solver, which now installs without issue. I've kept conda to version 22.11.1. Updating to the latest version: 23.1.0 by running conda install conda=23.1.0 creates the same dependencies error messages that I listed above.

After a clean Miniconda installation (Miniconda3-py310_22.11.1-1-Linux-x86_64) and running the command

conda update -n base conda

I would face conflicts when installing conda-libmamba-solver.

Downgrading conda from 23.1.0 to 22.11.1 solved for me.

Just an update, I was able to install conda-libmamba-solver after installing Miniconda3-py310_23.1.0-1-Linux-x86_64.sh with conda=23.1.0.

capac commented 1 year ago

Thanks for the advice. I've decided to keep the base environment free of packages except for the conda-libmamba-solver, which now installs without issue. I've kept conda to version 22.11.1. Updating to the latest version: 23.1.0 by running conda install conda=23.1.0 creates the same dependencies error messages that I listed above.

I've updated conda to 23.1.0 and libmamba to 1.3.1, and I don't have dependency conflicts when I update my conda environment. Fingers crossed 🤞🏻

ibaris commented 1 year ago

I have the same problem with a clean Anaconda product and Conda version 23.1.0 and 22.11.1.

>>> conda install -n base conda-libmamba-solver
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.

I also tried the suggestion from @travishathaway

>>> conda install --rev 0 --name base

## Package Plan ##

  environment location: D:\Anaconda3

  added / updated specs:
    - _ipyw_jlab_nb_ext_conf
    - anaconda-navigator
    - anaconda==2022.10=py39_0
    - conda
    - conda-build
    - conda-env
    - conda-verify
    - console_shortcut
    - menuinst
    - navigator-updater
    - powershell_shortcut
    - python=3.9

The following packages will be REMOVED:

  conda-package-streaming-0.7.0-py39haa95532_0
  ruamel.yaml-0.17.21-py39h2bbff1b_0
  ruamel.yaml.clib-0.2.6-py39h2bbff1b_1
  zstandard-0.19.0-py39h2bbff1b_0

The following packages will be DOWNGRADED:

  conda                               23.1.0-py39haa95532_0 --> 22.9.0-py39haa95532_0
  conda-package-han~                   2.0.2-py39haa95532_0 --> 1.9.0-py39h8cc25b3_0
  conda-repo-cli                      1.0.27-py39haa95532_0 --> 1.0.20-py39haa95532_0

Proceed ([y]/n)?

Downloading and Extracting Packages

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

I installed Anaconda version 2022.05 with conda version 4.12.0 and it works. But if I try to install an environment an error appears:

Traceback (most recent call last):
  File "D:\Anaconda3\lib\site-packages\conda_libmamba_solver\solver.py", line 223, in solve_final_state
    api_ctx = init_api_context(verbosity=max(2, context.verbosity))
  File "D:\Anaconda3\lib\site-packages\conda_libmamba_solver\mamba_utils.py", line 177, in init_api_context
    api_ctx = api.Context()
AttributeError: module 'libmambapy' has no attribute 'Context'

# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

    Traceback (most recent call last):
      File "D:\Anaconda3\lib\site-packages\conda_libmamba_solver\solver.py", line 223, in solve_final_state
        api_ctx = init_api_context(verbosity=max(2, context.verbosity))
      File "D:\Anaconda3\lib\site-packages\conda_libmamba_solver\mamba_utils.py", line 177, in init_api_context
        api_ctx = api.Context()
    AttributeError: module 'libmambapy' has no attribute 'Context'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "D:\Anaconda3\lib\site-packages\conda\exceptions.py", line 1082, in __call__
        return func(*args, **kwargs)
      File "D:\Anaconda3\lib\site-packages\conda_env\cli\main.py", line 80, in do_call
        exit_code = getattr(module, func_name)(args, parser)
      File "D:\Anaconda3\lib\site-packages\conda_env\cli\main_create.py", line 142, in execute
        result[installer_type] = installer.install(prefix, pkg_specs, args, env)
      File "D:\Anaconda3\lib\site-packages\conda_env\installers\conda.py", line 50, in install
        unlink_link_transaction = solver.solve_for_transaction(
      File "D:\Anaconda3\lib\site-packages\conda\core\solve.py", line 152, in solve_for_transaction
        unlink_precs, link_precs = self.solve_for_diff(update_modifier, deps_modifier,
      File "D:\Anaconda3\lib\site-packages\conda\core\solve.py", line 195, in solve_for_diff
        final_precs = self.solve_final_state(update_modifier, deps_modifier, prune, ignore_pinned,
      File "D:\Anaconda3\lib\site-packages\conda_libmamba_solver\solver.py", line 224, in solve_final_state
        index = LibMambaIndexHelper(
      File "D:\Anaconda3\lib\site-packages\conda_libmamba_solver\utils.py", line 86, in __exit__
        raise exc_type(exc_value)
    AttributeError: module 'libmambapy' has no attribute 'Context'
ibaris commented 1 year ago

I've decided to keep the base environment free of packages

How do you do that? I tried to remove all packages from base with

>>> pip freeze | grep -v conda > requirements.txt
>>> pip uninstall -r requirements.txt -y

But then conda is not working anymore. Actually, which dependencies has conda? I would like to remove all packages, which are not a dependency of conda and anaconda. I looked at the repository but could not find any requirement.txt. In the setup.py are the install_requires only:

install_requires = [
    "pluggy >=1.0.0",
    "pycosat >=0.6.3",
    "requests >=2.20.1",
    "ruamel.yaml >=0.11.14",
    "menuinst ; platform_system=='Windows'",
    "tqdm >=4",
] 
capac commented 1 year ago

I've decided to keep the base environment free of packages

How do you do that? I tried to remove all packages from base with

>>> pip freeze | grep -v conda > requirements.txt
>>> pip uninstall -r requirements.txt -y

But then conda is not working anymore. Actually, which dependencies has conda? I would like to remove all packages, which are not a dependency of conda and anaconda. I looked at the repository but could not find any requirement.txt. In the setup.py are the install_requires only:

install_requires = [
    "pluggy >=1.0.0",
    "pycosat >=0.6.3",
    "requests >=2.20.1",
    "ruamel.yaml >=0.11.14",
    "menuinst ; platform_system=='Windows'",
    "tqdm >=4",
] 

I started from a fresh base installation of conda and I only installed in addition conda-libmamba-solver. From there I created another environment that I use as a working environment. This has been working fine for me for some time now without issue.

giorgionicoletti commented 1 year ago

I am facing the same problem. On a clean Anaconda 23.1.0 installation, installing the libmamba solver with conda install -n base conda-libmamba-solver does not work. Any updates on this? I am running conda on a remote server with Ubuntu 18.04, and I am not able to install any packages at this point, as the solver runs for hours before exiting without installing anything.

EDIT: I encountered no problems with miniconda, so I guess there may be unresolved conflicts with packages installed by Anaconda?

complyue commented 1 year ago

I hadn't come here before reporting the same issue to conda-libmamaba-resolver, and good news that their latest release has fixed it (at least for latest Anaconda), see: https://github.com/conda/conda-libmamba-solver/issues/169#issuecomment-1497094876

But be cautious conda would remove existing packages on installing the package, I found a workaround https://github.com/conda/conda/issues/12560#issuecomment-1497076549

rra88 commented 1 year ago

I just ran into the same issue with a fresh installation of the Anaconda Distribution. No updates yet I guess. Have you heard something @travishathaway?

moqmar commented 1 year ago

Turns out there is the following workaround:

  1. Update everything with conda install --only-deps anaconda - this ensures that the next command won't try to uninstall curl.
  2. Run conda install -n base conda-libmamba-solver=23.3.0 with the major/minor version matching the installed conda version (which is 23.3.1 for Anaconda 2023.03-1).

I hope this gets fixed soon, it's a probably simple issue that's hard to track down and find a workaround for as a user, and conda without libmamba is unusably slow.

jezdez commented 1 year ago

@jaimergp Any ideas what could be cause for this?

jaimergp commented 1 year ago

It smells like https://github.com/conda/conda/issues/9469#issuecomment-1503302008 (current_repodata.json not containing the required packages for a recent solve).

csoja commented 1 year ago

you may need to unpin the anaconda metapackage first. conda install anaconda=custom

jezdez commented 1 year ago

you may need to unpin the anaconda metapackage first. conda install anaconda=custom

Ah, do you think conda install anaconda --no-pin might also work?

jezdez commented 1 year ago

It smells like conda/conda#9469 (comment) (current_repodata.json not containing the required packages for a recent solve).

So in that case, the workaround is conda update -n base -c defaults conda --repodata-fn=repodata.json? :-/

moqmar commented 1 year ago

you may need to unpin the anaconda metapackage first. conda install anaconda=custom

Ah, do you think conda install anaconda --no-pin might also work?

That surely works, but - just as with anaconda=custom - at that time you're not on an official Anaconda release so other stuff might break during updates.