madler / zlib

A massively spiffy yet delicately unobtrusive compression library.
http://zlib.net/
Other
5.65k stars 2.44k forks source link

linux - unable to install libzlib=1.3.1 #950

Closed mario-garbelli closed 6 months ago

mario-garbelli commented 6 months ago

the following command works in windows 10 x64 but returns an error in linux x64

conda create -n my_env -c conda-forge python=3.9 nomkl numpy pandas flask conda-pack libzlib=1.3.1

LINUX

Channels:

LibMambaUnsatisfiableError: Encountered problems while solving:

Could not solve for environment specs The following packages are incompatible ├─ libzlib 1.3.1* is installable and it requires │ └─ zlib 1.3.1 _0, which can be installed; └─ python 3.9* is not installable because there are no viable options ├─ python [3.9.0|3.9.1|...|3.9.7] would require │ ├─ pypy3.9 7.3.8. , which requires │ │ └─ zlib >=1.2.11,<1.3.0a0 , which conflicts with any installable versions previously reported; │ └─ zlib >=1.2.11,<1.3.0a0 , which conflicts with any installable versions previously reported; ├─ python [3.9.10|3.9.12|3.9.13|3.9.9] would require │ └─ libzlib >=1.2.11,<1.3.0a0 , which conflicts with any installable versions previously reported; ├─ python 3.9.12 would require │ └─ pypy3.9 7.3.9. but there are no viable options │ ├─ pypy3.9 [7.3.11|7.3.12|7.3.13|7.3.15|7.3.9] would require │ │ └─ libzlib >=1.2.13,<1.3.0a0 , which conflicts with any installable versions previously reported; │ ├─ pypy3.9 [7.3.8|7.3.9], which cannot be installed (as previously explained); │ ├─ pypy3.9 7.3.9 would require │ │ └─ zlib >=1.2.12,<1.3.0a0 , which conflicts with any installable versions previously reported; │ └─ pypy3.9 7.3.9 would require │ └─ libzlib >=1.2.12,<1.3.0a0 , which conflicts with any installable versions previously reported; ├─ python [3.9.14|3.9.15|3.9.16|3.9.17|3.9.18] would require │ ├─ libzlib >=1.2.13,<1.3.0a0 , which conflicts with any installable versions previously reported; │ └─ pypy3.9 [7.3.11. |7.3.12. |7.3.13. |7.3.15.* ], which cannot be installed (as previously explained); ├─ python [3.9.12|3.9.13] would require │ └─ zlib >=1.2.12,<1.3.0a0 , which conflicts with any installable versions previously reported; └─ python [3.9.15|3.9.16|3.9.17|3.9.18] would require └─ zlib >=1.2.13,<1.3.0a0 , which conflicts with any installable versions previously reported.

WINDOWS

Collecting package metadata (current_repodata.json): done Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source. Collecting package metadata (repodata.json): done Solving environment: done

Package Plan

environment location:

added / updated specs:

The following packages will be downloaded:

package                    |            build    |           |
---------------------------|---------------------|-----------|-----------------
blinker-1.7.0              |     pyhd8ed1ab_0    |     17 KB | conda-forge
ca-certificates-2024.2.2   |       h56e8100_0    |    152 KB | conda-forge
click-8.1.7                | win_pyh7428d3b_0    |     83 KB | conda-forge
colorama-0.4.6             |     pyhd8ed1ab_0    |     25 KB | conda-forge
conda-pack-0.7.1           |     pyhd8ed1ab_0    |     32 KB | conda-forge
flask-3.0.2                |     pyhd8ed1ab_0    |     79 KB | conda-forge
importlib-metadata-7.0.2   |     pyha770c72_0    |     26 KB | conda-forge
itsdangerous-2.1.2         |     pyhd8ed1ab_0    |     16 KB | conda-forge
jinja2-3.1.3               |     pyhd8ed1ab_0    |    109 KB | conda-forge
libblas-3.9.0              |5_hd5c7e75_netlib    |    197 KB | conda-forge
libcblas-3.9.0             |5_hd5c7e75_netlib    |     95 KB | conda-forge
liblapack-3.9.0            |5_hd5c7e75_netlib    |    2.7 MB | conda-forge
libsqlite-3.45.2           |       hcfcfb64_0    |    849 KB | conda-forge
libzlib-1.3.1              |       hcfcfb64_0    |     55 KB | conda-forge
m2w64-gcc-libgfortran-5.3.0|                6    |    342 KB | conda-forge
m2w64-gcc-libs-5.3.0       |                7    |    520 KB | conda-forge
m2w64-gcc-libs-core-5.3.0  |                7    |    214 KB | conda-forge
m2w64-gmp-6.1.0            |                2    |    726 KB | conda-forge
m2w64-libwinpthread-git-5.0.0.4634.697f757|    2 |     31 KB | conda-forge
markupsafe-2.1.5           |   py39ha55989b_0    |     26 KB | conda-forge
msys2-conda-epoch-20160418 |                1    |      3 KB | conda-forge
nomkl-1.0                  |       h5ca1d4c_0    |      4 KB | conda-forge
numpy-1.26.4               |   py39hddb5d58_0    |    5.6 MB | conda-forge
openssl-3.2.1              |       hcfcfb64_0    |    7.8 MB | conda-forge
pandas-2.2.1               |   py39h32e6231_0    |   11.3 MB | conda-forge
pip-24.0                   |     pyhd8ed1ab_0    |    1.3 MB | conda-forge
python-3.9.7               |h900ac77_3_cpython   |    20.1 MB|  conda-forge
python-dateutil-2.9.0      |     pyhd8ed1ab_0    |    218 KB | conda-forge
python-tzdata-2024.1       |     pyhd8ed1ab_0    |    141 KB | conda-forge
python_abi-3.9             |           4_cp39    |      7 KB | conda-forge
pytz-2024.1                |     pyhd8ed1ab_0    |    184 KB | conda-forge
setuptools-69.1.1          |     pyhd8ed1ab_0    |    459 KB | conda-forge
six-1.16.0                 |     pyh6c4a22f_0    |     14 KB | conda-forge
sqlite-3.45.2              |       hcfcfb64_0    |    853 KB | conda-forge
tzdata-2024a               |       h0c530f3_0    |    117 KB | conda-forge
ucrt-10.0.22621.0          |       h57928b3_0    |    1.2 MB | conda-forge
vc-14.3                    |      hcf57466_18    |     17 KB | conda-forge
vc14_runtime-14.38.33130   |      h82b7239_18    |    732 KB | conda-forge
vs2015_runtime-14.38.33130 |      hcb4865c_18    |     17 KB | conda-forge
werkzeug-3.0.1             |     pyhd8ed1ab_0    |    236 KB | conda-forge
wheel-0.42.0               |     pyhd8ed1ab_0    |     56 KB | conda-forge
zipp-3.17.0                |     pyhd8ed1ab_0    |     19 KB | conda-forge
------------------------------------------------------------
                                       Total:        56.7 MB

The following NEW packages will be INSTALLED:

blinker | conda-forge/noarch::blinker-1.7.0-pyhd8ed1ab_0 ca-certificates | conda-forge/win-64::ca-certificates-2024.2.2-h56e8100_0 click | conda-forge/noarch::click-8.1.7-win_pyh7428d3b_0 colorama | conda-forge/noarch::colorama-0.4.6-pyhd8ed1ab_0 conda-pack | conda-forge/noarch::conda-pack-0.7.1-pyhd8ed1ab_0 flask | conda-forge/noarch::flask-3.0.2-pyhd8ed1ab_0 importlib-metadata | conda-forge/noarch::importlib-metadata-7.0.2-pyha770c72_0 itsdangerous | conda-forge/noarch::itsdangerous-2.1.2-pyhd8ed1ab_0 jinja2 | conda-forge/noarch::jinja2-3.1.3-pyhd8ed1ab_0 libblas | conda-forge/win-64::libblas-3.9.0-5_hd5c7e75_netlib libcblas | conda-forge/win-64::libcblas-3.9.0-5_hd5c7e75_netlib liblapack | conda-forge/win-64::liblapack-3.9.0-5_hd5c7e75_netlib libsqlite | conda-forge/win-64::libsqlite-3.45.2-hcfcfb64_0 libzlib | conda-forge/win-64::libzlib-1.3.1-hcfcfb64_0 m2w64-gcc-libgfor~ | conda-forge/win-64::m2w64-gcc-libgfortran-5.3.0-6 m2w64-gcc-libs | conda-forge/win-64::m2w64-gcc-libs-5.3.0-7 m2w64-gcc-libs-co~ | conda-forge/win-64::m2w64-gcc-libs-core-5.3.0-7 m2w64-gmp | conda-forge/win-64::m2w64-gmp-6.1.0-2 m2w64-libwinpthre~ | conda-forge/win-64::m2w64-libwinpthread-git-5.0.0.4634.697f757-2 markupsafe | conda-forge/win-64::markupsafe-2.1.5-py39ha55989b_0 msys2-conda-epoch | conda-forge/win-64::msys2-conda-epoch-20160418-1 nomkl | conda-forge/noarch::nomkl-1.0-h5ca1d4c_0 numpy | conda-forge/win-64::numpy-1.26.4-py39hddb5d58_0 openssl | conda-forge/win-64::openssl-3.2.1-hcfcfb64_0 pandas | conda-forge/win-64::pandas-2.2.1-py39h32e6231_0 pip | conda-forge/noarch::pip-24.0-pyhd8ed1ab_0 python | conda-forge/win-64::python-3.9.7-h900ac77_3_cpython python-dateutil | conda-forge/noarch::python-dateutil-2.9.0-pyhd8ed1ab_0 python-tzdata | conda-forge/noarch::python-tzdata-2024.1-pyhd8ed1ab_0 python_abi | conda-forge/win-64::python_abi-3.9-4_cp39 pytz | conda-forge/noarch::pytz-2024.1-pyhd8ed1ab_0 setuptools | conda-forge/noarch::setuptools-69.1.1-pyhd8ed1ab_0 six | conda-forge/noarch::six-1.16.0-pyh6c4a22f_0 sqlite | conda-forge/win-64::sqlite-3.45.2-hcfcfb64_0 tzdata | conda-forge/noarch::tzdata-2024a-h0c530f3_0 ucrt | conda-forge/win-64::ucrt-10.0.22621.0-h57928b3_0 vc | conda-forge/win-64::vc-14.3-hcf57466_18 vc14_runtime | conda-forge/win-64::vc14_runtime-14.38.33130-h82b7239_18 vs2015_runtime | conda-forge/win-64::vs2015_runtime-14.38.33130-hcb4865c_18 werkzeug | conda-forge/noarch::werkzeug-3.0.1-pyhd8ed1ab_0 wheel | conda-forge/noarch::wheel-0.42.0-pyhd8ed1ab_0 zipp | conda-forge/noarch::zipp-3.17.0-pyhd8ed1ab_0

mario-garbelli commented 6 months ago

I'm using a python virtual environment inside a container with Debian 12 slim as docker base image. I need to update because our cyber security tool give us a critical issue (CVE-2023-45853)

madler commented 6 months ago

Sorry — you are asking in the wrong place for help with Python installations and environments.