mamba-org / mamba

The Fast Cross-Platform Package Manager
https://mamba.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.61k stars 344 forks source link

mamba complains about an already installed package #1946

Closed enricostragiotti closed 1 year ago

enricostragiotti commented 1 year ago

I am trying to install cadquery into a fresh new environment using mamba install -c conda-forge -c cadquery cadquery=master. Mamba interrupts the installation before the download starts with a compatibility error:

Looking for: ['cadquery=master']

cadquery/noarch                                    130.0 B @ 124.0 B/s  1.0s
cadquery/win-64                                      4.4kB @   4.2kB/s  1.1s
pytorch/win-64                                     120.0kB @  67.5kB/s  0.7s
pkgs/msys2/noarch                                  111.0 B @  41.0 B/s  0.9s
pytorch/noarch                                       8.0kB @   1.8kB/s  1.7s
pkgs/r/win-64                                      742.8kB @ 148.6kB/s  4.0s
pkgs/r/noarch                                        1.3MB @ 163.6kB/s  3.1s
conda-forge/noarch                                   9.4MB @   1.2MB/s  9.0s
pkgs/msys2/win-64                                   39.8kB @   4.4kB/s  1.1s
pkgs/main/noarch                                   816.3kB @  79.3kB/s  6.0s
pkgs/main/win-64                                     4.2MB @ 407.3kB/s 10.8s
conda-forge/win-64                                  16.4MB @ 941.7kB/s 19.1s

Pinned packages:
  - python 3.10.*

Encountered problems while solving:
  - package qt-main-5.15.6-hf0cf448_0 requires icu >=70.1,<71.0a0, but none of the providers can be installed

However, looking at the installed packages, I noted that icu is already at version 70.1.

Here is mamba list of my environment:

 packages in environment at D:\estragio\mambaforge\envs\optim:

 Name                    Version                   Build  Channel
aom                       3.4.0                h0e60522_1    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
brotli                    1.0.9                h8ffe710_7    conda-forge
brotli-bin                1.0.9                h8ffe710_7    conda-forge
bzip2                     1.0.8                he774522_0
ca-certificates           2022.9.14            h5b45459_0    conda-forge
certifi                   2022.9.14       py310haa95532_0
colorama                  0.4.5              pyhd8ed1ab_0    conda-forge
contourpy                 1.0.5           py310h232114e_0    conda-forge
curl                      7.83.1               h789b8ee_0    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
double-conversion         3.2.0                h0e60522_0    conda-forge
eigen                     3.4.0                h2d74725_0    conda-forge
expat                     2.4.9                h1537add_0    conda-forge
ffmpeg                    4.4.2           gpl_hbb6702b_107    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.0               hce3cb01_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.37.3          py310h8d17308_0    conda-forge
freetype                  2.12.1               h546665d_0    conda-forge
gettext                   0.19.8.1          ha2e2712_1008    conda-forge
gl2ps                     1.4.2                h0597ee9_0    conda-forge
glew                      2.1.0                h39d44d4_2    conda-forge
glib                      2.72.1               h7755175_0    conda-forge
glib-tools                2.72.1               h7755175_0    conda-forge
gst-plugins-base          1.20.3               h001b923_2    conda-forge
gstreamer                 1.20.3               h6b5321d_2    conda-forge
hdf4                      4.2.15               h0e5069d_4    conda-forge
hdf5                      1.12.2          nompi_h2a0e4a3_100    conda-forge
icu                       70.1                 h0e60522_0    conda-forge
imageio                   2.22.0             pyhfa7a67d_0    conda-forge
intel-openmp              2022.1.0          h59b6b97_3788
jpeg                      9e                   h8ffe710_2    conda-forge
jsoncpp                   1.9.5                h2d74725_1    conda-forge
kiwisolver                1.4.4           py310h476a331_0    conda-forge
krb5                      1.19.3               h1176d77_0    conda-forge
lcms2                     2.12                 h2a16943_0    conda-forge
lerc                      4.0.0                h63175ca_0    conda-forge
libblas                   3.9.0              16_win64_mkl    conda-forge
libbrotlicommon           1.0.9                h8ffe710_7    conda-forge
libbrotlidec              1.0.9                h8ffe710_7    conda-forge
libbrotlienc              1.0.9                h8ffe710_7    conda-forge
libcblas                  3.9.0              16_win64_mkl    conda-forge
libclang                  14.0.6          default_h77d9078_0    conda-forge
libclang13                14.0.6          default_h77d9078_0    conda-forge
libcurl                   7.83.1               h789b8ee_0    conda-forge
libdeflate                1.14                 hcfcfb64_0    conda-forge
libffi                    3.4.2                hd77b12b_4
libglib                   2.72.1               h3be07f2_0    conda-forge
libhwloc                  2.8.0                h039e092_1    conda-forge
libiconv                  1.16                 h2bbff1b_2
liblapack                 3.9.0              16_win64_mkl    conda-forge
libnetcdf                 4.8.1           nompi_h85765be_104    conda-forge
libogg                    1.3.4                h8ffe710_1    conda-forge
libpng                    1.6.38               h19919ed_0    conda-forge
libsqlite                 3.39.3               hcfcfb64_0    conda-forge
libssh2                   1.10.0               h680486a_3    conda-forge
libtheora                 1.1.1             h8d14728_1005    conda-forge
libtiff                   4.4.0                h8e97e67_4    conda-forge
libvorbis                 1.3.7                h0e60522_0    conda-forge
libwebp-base              1.2.4                h8ffe710_0    conda-forge
libxcb                    1.13              hcd874cb_1004    conda-forge
libxml2                   2.9.14               hf5bbc77_4    conda-forge
libzip                    1.9.2                hfed4ece_1    conda-forge
libzlib                   1.2.12               hcfcfb64_3    conda-forge
loguru                    0.6.0           py310h5588dad_1    conda-forge
lz4-c                     1.9.3                h8ffe710_1    conda-forge
m2w64-gcc-libgfortran     5.3.0                         6    conda-forge
m2w64-gcc-libs            5.3.0                         7    conda-forge
m2w64-gcc-libs-core       5.3.0                         7    conda-forge
m2w64-gmp                 6.1.0                         2    conda-forge
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    conda-forge
matplotlib                3.6.0           py310h5588dad_0    conda-forge
matplotlib-base           3.6.0           py310h51140c5_0    conda-forge
mkl                       2022.1.0           h6a75c08_874    conda-forge
msys2-conda-epoch         20160418                      1    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
numpy                     1.23.3          py310h4a8f9c9_0    conda-forge
openh264                  2.3.0                h0e60522_0    conda-forge
openjpeg                  2.5.0                hc9384bd_1    conda-forge
openssl                   1.1.1q               h8ffe710_0    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pcre                      8.45                 h0e60522_0    conda-forge
pillow                    9.2.0           py310h52929f7_2    conda-forge
pip                       22.1.2          py310haa95532_0
plotly                    5.10.0             pyhd8ed1ab_0    conda-forge
proj                      9.0.1                h1cfcee9_1    conda-forge
pthread-stubs             0.4               hcd874cb_1001    conda-forge
pthreads-win32            2.9.1                hfa6e2cd_3    conda-forge
pugixml                   1.11.4               h0e60522_0    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pyqt                      5.15.4          py310h8a704f9_0    conda-forge
pyqt5-sip                 12.9.0          py310h8a704f9_0    conda-forge
python                    3.10.6          h9a09f29_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python_abi                3.10                    2_cp310    conda-forge
pyvista                   0.36.1             pyhd8ed1ab_0    conda-forge
qt-main                   5.15.6               hf0cf448_0    conda-forge
scipy                     1.9.1           py310h578b7cb_0    conda-forge
scooby                    0.6.0              pyhd8ed1ab_0    conda-forge
setuptools                63.4.1          py310haa95532_0
sip                       6.5.1           py310h8a704f9_2    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
sqlite                    3.39.2               h2bbff1b_0
svt-av1                   1.2.1                h0e60522_0    conda-forge
tbb                       2021.5.0             h91493d7_3    conda-forge
tbb-devel                 2021.5.0             h91493d7_3    conda-forge
tenacity                  8.1.0              pyhd8ed1ab_0    conda-forge
tk                        8.6.12               h2bbff1b_0
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tornado                   6.2             py310he2412df_0    conda-forge
typing_extensions         4.3.0              pyha770c72_0    conda-forge
tzdata                    2022c                h04d1e81_0
ucrt                      10.0.20348.0         h57928b3_0    conda-forge
unicodedata2              14.0.0          py310he2412df_1    conda-forge
utfcpp                    3.2.1                h57928b3_0    conda-forge
vc                        14.2                 h21ff451_1
vs2015_runtime            14.29.30139          h890b9b1_7    conda-forge
vtk                       9.1.0           qt_py310hbebbbde_214    conda-forge
wheel                     0.37.1             pyhd3eb1b0_0
win32_setctime            1.1.0              pyhd8ed1ab_0    conda-forge
wincertstore              0.2             py310haa95532_2
x264                      1!164.3095           h8ffe710_2    conda-forge
x265                      3.5                  h2d74725_3    conda-forge
xorg-libxau               1.0.9                hcd874cb_0    conda-forge
xorg-libxdmcp             1.1.3                hcd874cb_0    conda-forge
xz                        5.2.6                h8d14728_0    conda-forge
zlib                      1.2.12               h8cc25b3_3
zstd                      1.5.2                h7755175_4    conda-forge

I already tried to clean the cache with mamba clean -i as suggested in #78.

wolfv commented 1 year ago

Hm, unfortunately, the error messages of mamba are still a bit lacking (we're working hard on improving that!) so it's not very clear what the actual issue is in this case.

I would try to:

We will keep you posted on the solver messaging improvements...