joezuntz/cosmosis

trouble installing cosmosis

mhlswang opened this issue · 7 comments

I am following the instructions on:

https://cosmosis.readthedocs.io/en/latest/intro/installation.html

under the section "Conda-Forge (from scratch) on Linux and Intel Macs" to do an installation from scratch on SL7 linux, but I am getting the following errors:

Retrieving notices: ...working... failed
Traceback (most recent call last):
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/conda/exceptions.py", line 1129, in __call__
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/conda/cli/main.py", line 86, in main_subshell
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/conda/cli/conda_argparse.py", line 93, in do_call
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/conda/notices/core.py", line 75, in wrapper
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/conda/notices/core.py", line 39, in display_notices
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/conda/notices/http.py", line 36, in get_notice_responses
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/conda/notices/http.py", line 39, in <genexpr>
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/concurrent/futures/_base.py", line 621, in result_iterator
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/concurrent/futures/_base.py", line 319, in _result_or_cancel
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/concurrent/futures/_base.py", line 458, in result
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/conda/notices/http.py", line 42, in <lambda>
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/conda/notices/cache.py", line 37, in wrapper
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/conda/notices/http.py", line 58, in get_channel_notice_response
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/requests/sessions.py", line 600, in get
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/requests/adapters.py", line 460, in send
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/requests/adapters.py", line 263, in cert_verify
OSError: Could not find a suitable TLS CA certificate bundle, invalid path: /data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/certifi/cacert.pem

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/bin/conda", line 15, in <module>
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/conda/cli/main.py", line 129, in main
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/conda/exceptions.py", line 1429, in conda_exception_handler
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/conda/exceptions.py", line 1132, in __call__
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/conda/exceptions.py", line 1172, in handle_exception
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/conda/exceptions.py", line 1183, in handle_unexpected_exception
  File "/data/des91.b/data/mwang/cosmosisdesy6kp/env/lib/python3.10/site-packages/conda/exceptions.py", line 1245, in print_unexpected_error_report
ModuleNotFoundError: No module named 'conda.cli.main_info'

However if I change the python version from 3.9 to 3.10 in the following command:

conda install -y python=3.9 cosmosis cosmosis-build-standard-library

The installation completes successfully.

Can you please post the full output of the command that failed,

conda install -y python=3.9 cosmosis cosmosis-build-standard-library

From the partial output above, it would appear the conda has installed python 3.10 into this environment, when instructed to use python 3.9. I would like to understand the source of this failure.

Hi Marc, here's the full output:

Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done

Package Plan

environment location: /data/des91.b/data/mwang/cosmosisdesy6kp_0/env

added / updated specs:
- cosmosis
- cosmosis-build-standard-library
- python=3.9

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
astropy-5.2                |   py39h389d5f1_0         7.5 MB  conda-forge
attrs-22.2.0               |     pyh71513ae_0          53 KB  conda-forge
binutils-2.39              |       hdd6e379_1          29 KB  conda-forge
binutils_impl_linux-64-2.39|       h6ceecb4_0        12.4 MB  conda-forge
binutils_linux-64-2.39     |      h5fc0e48_11          24 KB  conda-forge
brotli-1.0.9               |       h166bdaf_8          18 KB  conda-forge
brotli-bin-1.0.9           |       h166bdaf_8          20 KB  conda-forge
brotlipy-0.7.0             |py39hb9d737c_1005         342 KB  conda-forge
c-ares-1.18.1              |       h7f98852_0         113 KB  conda-forge
c-compiler-1.5.1           |       h166bdaf_0           5 KB  conda-forge
ca-certificates-2022.12.7  |       ha878542_0         143 KB  conda-forge
camb-1.3.6                 |   py39hea1df8f_1         955 KB  conda-forge
certifi-2022.12.7          |     pyhd8ed1ab_0         147 KB  conda-forge
cffi-1.15.1                |   py39he91dace_3         229 KB  conda-forge
cfitsio-4.2.0              |       hd9d235c_0         828 KB  conda-forge
compilers-1.5.1            |       ha770c72_0           5 KB  conda-forge
conda-22.11.1              |   py39hf3d152e_1         904 KB  conda-forge
conda-package-handling-2.0.2|     pyh38be061_0         247 KB  conda-forge
conda-package-streaming-0.7.0|     pyhd8ed1ab_1          17 KB  conda-forge
contourpy-1.0.6            |   py39hf939315_0         234 KB  conda-forge
cosmosis-2.2.3             |   py39hcdc1dd8_1         2.3 MB  conda-forge
cosmosis-build-standard-library-1.2|   py39hcaacaa7_2           9 KB  conda-forge
cryptography-38.0.4        |   py39h3ccb8fc_0         1.3 MB  conda-forge
curl-7.87.0                |       hdc1c0ab_0          85 KB  conda-forge
cxx-compiler-1.5.1         |       h924138e_0           5 KB  conda-forge
cycler-0.11.0              |     pyhd8ed1ab_0          10 KB  conda-forge
cython-0.29.32             |   py39h5a03fae_1         2.1 MB  conda-forge
dulwich-0.20.50            |   py39h72bdee0_0         670 KB  conda-forge
dynesty-2.0.3              |     pyhd8ed1ab_0          84 KB  conda-forge
emcee-3.1.3                |     pyhd8ed1ab_0          36 KB  conda-forge
exceptiongroup-1.1.0       |     pyhd8ed1ab_0          18 KB  conda-forge
expat-2.5.0                |       h27087fc_0         189 KB  conda-forge
fast-pt-3.1.0              |     pyh9f0ad1d_0          37 KB  conda-forge
fftw-3.3.10                |nompi_hf0379b8_106         2.1 MB  conda-forge
fitsio-1.1.8               |   py39h72a714f_1         728 KB  conda-forge
fonttools-4.38.0           |   py39hb9d737c_1         1.9 MB  conda-forge
fortran-compiler-1.5.1     |       h2a4ca65_0           5 KB  conda-forge
freetype-2.12.1            |       hca18f0e_1         611 KB  conda-forge
future-0.18.2              |     pyhd8ed1ab_6         356 KB  conda-forge
gcc-10.4.0                 |      hb92f740_11          24 KB  conda-forge
gcc_impl_linux-64-10.4.0   |      h5231bdf_19        46.7 MB  conda-forge
gcc_linux-64-10.4.0        |      h9215b83_11          25 KB  conda-forge
gettext-0.21.1             |       h27087fc_0         4.1 MB  conda-forge
gfortran-10.4.0            |      h0c96582_11          24 KB  conda-forge
gfortran_impl_linux-64-10.4.0|      h7d168d2_19        14.8 MB  conda-forge
gfortran_linux-64-10.4.0   |      h69d5af5_11          24 KB  conda-forge
git-2.39.0                 | pl5321h693f4a3_0         9.3 MB  conda-forge
gmp-6.2.1                  |       h58526e2_0         806 KB  conda-forge
gmpy2-2.1.2                |   py39h376b7d2_1         217 KB  conda-forge
gsl-2.7                    |       he838d99_0         3.2 MB  conda-forge
gxx-10.4.0                 |      hb92f740_11          24 KB  conda-forge
gxx_impl_linux-64-10.4.0   |      h5231bdf_19        11.5 MB  conda-forge
gxx_linux-64-10.4.0        |      h6e491c6_11          25 KB  conda-forge
importlib-metadata-5.2.0   |     pyha770c72_0          24 KB  conda-forge
iniconfig-1.1.1            |     pyh9f0ad1d_0           8 KB  conda-forge
joblib-1.2.0               |     pyhd8ed1ab_0         205 KB  conda-forge
jpeg-9e                    |       h166bdaf_2         269 KB  conda-forge
kernel-headers_linux-64-2.6.32|      he073ed8_15         707 KB  conda-forge
keyutils-1.6.1             |       h166bdaf_0         115 KB  conda-forge
kiwisolver-1.4.4           |   py39hf939315_1          76 KB  conda-forge
krb5-1.20.1                |       h81ceb04_0         1.3 MB  conda-forge
lcms2-2.14                 |       hfd0df8a_1         235 KB  conda-forge
lerc-4.0.0                 |       h27087fc_0         275 KB  conda-forge
libblas-3.9.0              |16_linux64_openblas          13 KB  conda-forge
libbrotlicommon-1.0.9      |       h166bdaf_8          66 KB  conda-forge
libbrotlidec-1.0.9         |       h166bdaf_8          33 KB  conda-forge
libbrotlienc-1.0.9         |       h166bdaf_8         288 KB  conda-forge
libcblas-3.9.0             |16_linux64_openblas          13 KB  conda-forge
libcurl-7.87.0             |       hdc1c0ab_0         341 KB  conda-forge
libdeflate-1.14            |       h166bdaf_0          81 KB  conda-forge
libedit-3.1.20191231       |       he28a2e2_2         121 KB  conda-forge
libev-4.33                 |       h516909a_1         104 KB  conda-forge
libgcc-devel_linux-64-10.4.0|      hd38fd1e_19         3.3 MB  conda-forge
libgfortran-ng-12.2.0      |      h69a702a_19          22 KB  conda-forge
libgfortran5-12.2.0        |      h337968e_19         1.8 MB  conda-forge
libiconv-1.17              |       h166bdaf_0         1.4 MB  conda-forge
liblapack-3.9.0            |16_linux64_openblas          13 KB  conda-forge
libnghttp2-1.47.0          |       hff17c54_1         824 KB  conda-forge
libopenblas-0.3.21         |pthreads_h78a6416_3        10.1 MB  conda-forge
libpng-1.6.39              |       h753d276_0         276 KB  conda-forge
libsanitizer-10.4.0        |      h5246dfb_19         6.0 MB  conda-forge
libssh2-1.10.0             |       hf14f497_3         234 KB  conda-forge
libstdcxx-devel_linux-64-10.4.0|      hd38fd1e_19         9.6 MB  conda-forge
libstdcxx-ng-12.2.0        |      h46fd767_19         4.3 MB  conda-forge
libtiff-4.5.0              |       h82bc61c_0         398 KB  conda-forge
libwebp-base-1.2.4         |       h166bdaf_0         404 KB  conda-forge
libxcb-1.13                |    h7f98852_1004         391 KB  conda-forge
make-4.3                   |       hd18ef5c_1         507 KB  conda-forge
matplotlib-base-3.6.2      |   py39hf9fd14e_0         7.5 MB  conda-forge
minuit2_standalone-6.22.06 |     h9c3ff4c_100         500 KB  conda-forge
mock-4.0.3                 |     pyhd8ed1ab_4          28 KB  conda-forge
mpc-1.2.1                  |       h9f54685_0         106 KB  conda-forge
mpfr-4.1.0                 |       h9202a9a_1         2.6 MB  conda-forge
mpi-1.0                    |            mpich           4 KB  conda-forge
mpi4py-3.1.4               |   py39h32b9844_0         614 KB  conda-forge
mpich-4.0.3                |     h846660c_100         6.0 MB  conda-forge
mpmath-1.2.1               |     pyhd8ed1ab_0         437 KB  conda-forge
munkres-1.1.4              |     pyh9f0ad1d_0          12 KB  conda-forge
numpy-1.24.0               |   py39h223a676_0         6.4 MB  conda-forge
openjpeg-2.5.0             |       hfec8fc6_2         344 KB  conda-forge
openssl-3.0.7              |       h0b41bf4_1         2.5 MB  conda-forge
packaging-22.0             |     pyhd8ed1ab_0          40 KB  conda-forge
pandas-1.5.2               |   py39h4661b88_0        10.1 MB  conda-forge
patsy-0.5.3                |     pyhd8ed1ab_0         189 KB  conda-forge
pcre2-10.40                |       hc3806b6_0         2.3 MB  conda-forge
perl-5.32.1                | 2_h7f98852_perl5        14.4 MB  conda-forge
pillow-9.2.0               |   py39h2320bf1_4        44.0 MB  conda-forge
pluggy-1.0.0               |     pyhd8ed1ab_5          16 KB  conda-forge
pthread-stubs-0.4          |    h36c2ea0_1001           5 KB  conda-forge
pybind11-2.10.2            |   py39h4b4f3f3_0         175 KB  conda-forge
pybind11-global-2.10.2     |   py39h4b4f3f3_0         163 KB  conda-forge
pycosat-0.6.4              |   py39hb9d737c_1         108 KB  conda-forge
pyerfa-2.0.0.1             |   py39h2ae25f5_3         447 KB  conda-forge
pyparsing-3.0.9            |     pyhd8ed1ab_0          79 KB  conda-forge
pytest-7.2.0               |     pyhd8ed1ab_2         220 KB  conda-forge
python-3.9.15              |hba424b6_0_cpython        21.0 MB  conda-forge
python-dateutil-2.8.2      |     pyhd8ed1ab_0         240 KB  conda-forge
python_abi-3.9             |           3_cp39           6 KB  conda-forge
pytz-2022.7                |     pyhd8ed1ab_0         182 KB  conda-forge
pyyaml-6.0                 |   py39hb9d737c_5         179 KB  conda-forge
ruamel.yaml-0.17.21        |   py39hb9d737c_2         173 KB  conda-forge
ruamel.yaml.clib-0.2.7     |   py39h72bdee0_1         140 KB  conda-forge
scikit-learn-1.2.0         |   py39h86b2a18_0         7.2 MB  conda-forge
scipy-1.9.3                |   py39hddc5342_2        26.2 MB  conda-forge
seaborn-0.12.1             |       hd8ed1ab_0           5 KB  conda-forge
seaborn-base-0.12.1        |     pyhd8ed1ab_0         217 KB  conda-forge
six-1.16.0                 |     pyh6c4a22f_0          14 KB  conda-forge
statsmodels-0.13.5         |   py39h2ae25f5_2        11.2 MB  conda-forge
sympy-1.11.1               |   py39hf3d152e_2        11.8 MB  conda-forge
sysroot_linux-64-2.12      |      he073ed8_15        31.4 MB  conda-forge
threadpoolctl-3.1.0        |     pyh8a188c0_0          18 KB  conda-forge
tomli-2.0.1                |     pyhd8ed1ab_0          16 KB  conda-forge
typing_extensions-4.4.0    |     pyha770c72_0          29 KB  conda-forge
unicodedata2-15.0.0        |   py39hb9d737c_0         500 KB  conda-forge
xorg-libxau-1.0.9          |       h7f98852_0          13 KB  conda-forge
xorg-libxdmcp-1.1.3        |       h7f98852_0          19 KB  conda-forge
zeus-mcmc-2.4.1            |     pyhd8ed1ab_0          39 KB  conda-forge
zipp-3.11.0                |     pyhd8ed1ab_0          15 KB  conda-forge
zstandard-0.19.0           |   py39h29414ee_1         373 KB  conda-forge
zstd-1.5.2                 |       h6239696_4         448 KB  conda-forge
------------------------------------------------------------
                                       Total:       381.3 MB

The following NEW packages will be INSTALLED:

astropy conda-forge/linux-64::astropy-5.2-py39h389d5f1_0 None
attrs conda-forge/noarch::attrs-22.2.0-pyh71513ae_0 None
binutils conda-forge/linux-64::binutils-2.39-hdd6e379_1 None
binutils_impl_lin~ conda-forge/linux-64::binutils_impl_linux-64-2.39-h6ceecb4_0 None
binutils_linux-64 conda-forge/linux-64::binutils_linux-64-2.39-h5fc0e48_11 None
brotli conda-forge/linux-64::brotli-1.0.9-h166bdaf_8 None
brotli-bin conda-forge/linux-64::brotli-bin-1.0.9-h166bdaf_8 None
c-ares conda-forge/linux-64::c-ares-1.18.1-h7f98852_0 None
c-compiler conda-forge/linux-64::c-compiler-1.5.1-h166bdaf_0 None
camb conda-forge/linux-64::camb-1.3.6-py39hea1df8f_1 None
cfitsio conda-forge/linux-64::cfitsio-4.2.0-hd9d235c_0 None
compilers conda-forge/linux-64::compilers-1.5.1-ha770c72_0 None
conda-package-str~ conda-forge/noarch::conda-package-streaming-0.7.0-pyhd8ed1ab_1 None
contourpy conda-forge/linux-64::contourpy-1.0.6-py39hf939315_0 None
cosmosis conda-forge/linux-64::cosmosis-2.2.3-py39hcdc1dd8_1 None
cosmosis-build-st~ conda-forge/linux-64::cosmosis-build-standard-library-1.2-py39hcaacaa7_2 None
curl conda-forge/linux-64::curl-7.87.0-hdc1c0ab_0 None
cxx-compiler conda-forge/linux-64::cxx-compiler-1.5.1-h924138e_0 None
cycler conda-forge/noarch::cycler-0.11.0-pyhd8ed1ab_0 None
cython conda-forge/linux-64::cython-0.29.32-py39h5a03fae_1 None
dulwich conda-forge/linux-64::dulwich-0.20.50-py39h72bdee0_0 None
dynesty conda-forge/noarch::dynesty-2.0.3-pyhd8ed1ab_0 None
emcee conda-forge/noarch::emcee-3.1.3-pyhd8ed1ab_0 None
exceptiongroup conda-forge/noarch::exceptiongroup-1.1.0-pyhd8ed1ab_0 None
expat conda-forge/linux-64::expat-2.5.0-h27087fc_0 None
fast-pt conda-forge/noarch::fast-pt-3.1.0-pyh9f0ad1d_0 None
fftw conda-forge/linux-64::fftw-3.3.10-nompi_hf0379b8_106 None
fitsio conda-forge/linux-64::fitsio-1.1.8-py39h72a714f_1 None
fonttools conda-forge/linux-64::fonttools-4.38.0-py39hb9d737c_1 None
fortran-compiler conda-forge/linux-64::fortran-compiler-1.5.1-h2a4ca65_0 None
freetype conda-forge/linux-64::freetype-2.12.1-hca18f0e_1 None
future conda-forge/noarch::future-0.18.2-pyhd8ed1ab_6 None
gcc conda-forge/linux-64::gcc-10.4.0-hb92f740_11 None
gcc_impl_linux-64 conda-forge/linux-64::gcc_impl_linux-64-10.4.0-h5231bdf_19 None
gcc_linux-64 conda-forge/linux-64::gcc_linux-64-10.4.0-h9215b83_11 None
gettext conda-forge/linux-64::gettext-0.21.1-h27087fc_0 None
gfortran conda-forge/linux-64::gfortran-10.4.0-h0c96582_11 None
gfortran_impl_lin~ conda-forge/linux-64::gfortran_impl_linux-64-10.4.0-h7d168d2_19 None
gfortran_linux-64 conda-forge/linux-64::gfortran_linux-64-10.4.0-h69d5af5_11 None
git conda-forge/linux-64::git-2.39.0-pl5321h693f4a3_0 None
gmp conda-forge/linux-64::gmp-6.2.1-h58526e2_0 None
gmpy2 conda-forge/linux-64::gmpy2-2.1.2-py39h376b7d2_1 None
gsl conda-forge/linux-64::gsl-2.7-he838d99_0 None
gxx conda-forge/linux-64::gxx-10.4.0-hb92f740_11 None
gxx_impl_linux-64 conda-forge/linux-64::gxx_impl_linux-64-10.4.0-h5231bdf_19 None
gxx_linux-64 conda-forge/linux-64::gxx_linux-64-10.4.0-h6e491c6_11 None
importlib-metadata conda-forge/noarch::importlib-metadata-5.2.0-pyha770c72_0 None
iniconfig conda-forge/noarch::iniconfig-1.1.1-pyh9f0ad1d_0 None
joblib conda-forge/noarch::joblib-1.2.0-pyhd8ed1ab_0 None
jpeg conda-forge/linux-64::jpeg-9e-h166bdaf_2 None
kernel-headers_li~ conda-forge/noarch::kernel-headers_linux-64-2.6.32-he073ed8_15 None
keyutils conda-forge/linux-64::keyutils-1.6.1-h166bdaf_0 None
kiwisolver conda-forge/linux-64::kiwisolver-1.4.4-py39hf939315_1 None
krb5 conda-forge/linux-64::krb5-1.20.1-h81ceb04_0 None
lcms2 conda-forge/linux-64::lcms2-2.14-hfd0df8a_1 None
lerc conda-forge/linux-64::lerc-4.0.0-h27087fc_0 None
libblas conda-forge/linux-64::libblas-3.9.0-16_linux64_openblas None
libbrotlicommon conda-forge/linux-64::libbrotlicommon-1.0.9-h166bdaf_8 None
libbrotlidec conda-forge/linux-64::libbrotlidec-1.0.9-h166bdaf_8 None
libbrotlienc conda-forge/linux-64::libbrotlienc-1.0.9-h166bdaf_8 None
libcblas conda-forge/linux-64::libcblas-3.9.0-16_linux64_openblas None
libcurl conda-forge/linux-64::libcurl-7.87.0-hdc1c0ab_0 None
libdeflate conda-forge/linux-64::libdeflate-1.14-h166bdaf_0 None
libedit conda-forge/linux-64::libedit-3.1.20191231-he28a2e2_2 None
libev conda-forge/linux-64::libev-4.33-h516909a_1 None
libgcc-devel_linu~ conda-forge/linux-64::libgcc-devel_linux-64-10.4.0-hd38fd1e_19 None
libgfortran-ng conda-forge/linux-64::libgfortran-ng-12.2.0-h69a702a_19 None
libgfortran5 conda-forge/linux-64::libgfortran5-12.2.0-h337968e_19 None
libiconv conda-forge/linux-64::libiconv-1.17-h166bdaf_0 None
liblapack conda-forge/linux-64::liblapack-3.9.0-16_linux64_openblas None
libnghttp2 conda-forge/linux-64::libnghttp2-1.47.0-hff17c54_1 None
libopenblas conda-forge/linux-64::libopenblas-0.3.21-pthreads_h78a6416_3 None
libpng conda-forge/linux-64::libpng-1.6.39-h753d276_0 None
libsanitizer conda-forge/linux-64::libsanitizer-10.4.0-h5246dfb_19 None
libssh2 conda-forge/linux-64::libssh2-1.10.0-hf14f497_3 None
libstdcxx-devel_l~ conda-forge/linux-64::libstdcxx-devel_linux-64-10.4.0-hd38fd1e_19 None
libstdcxx-ng conda-forge/linux-64::libstdcxx-ng-12.2.0-h46fd767_19 None
libtiff conda-forge/linux-64::libtiff-4.5.0-h82bc61c_0 None
libwebp-base conda-forge/linux-64::libwebp-base-1.2.4-h166bdaf_0 None
libxcb conda-forge/linux-64::libxcb-1.13-h7f98852_1004 None
make conda-forge/linux-64::make-4.3-hd18ef5c_1 None
matplotlib-base conda-forge/linux-64::matplotlib-base-3.6.2-py39hf9fd14e_0 None
minuit2_standalone conda-forge/linux-64::minuit2_standalone-6.22.06-h9c3ff4c_100 None
mock conda-forge/noarch::mock-4.0.3-pyhd8ed1ab_4 None
mpc conda-forge/linux-64::mpc-1.2.1-h9f54685_0 None
mpfr conda-forge/linux-64::mpfr-4.1.0-h9202a9a_1 None
mpi conda-forge/linux-64::mpi-1.0-mpich None
mpi4py conda-forge/linux-64::mpi4py-3.1.4-py39h32b9844_0 None
mpich conda-forge/linux-64::mpich-4.0.3-h846660c_100 None
mpmath conda-forge/noarch::mpmath-1.2.1-pyhd8ed1ab_0 None
munkres conda-forge/noarch::munkres-1.1.4-pyh9f0ad1d_0 None
numpy conda-forge/linux-64::numpy-1.24.0-py39h223a676_0 None
openjpeg conda-forge/linux-64::openjpeg-2.5.0-hfec8fc6_2 None
packaging conda-forge/noarch::packaging-22.0-pyhd8ed1ab_0 None
pandas conda-forge/linux-64::pandas-1.5.2-py39h4661b88_0 None
patsy conda-forge/noarch::patsy-0.5.3-pyhd8ed1ab_0 None
pcre2 conda-forge/linux-64::pcre2-10.40-hc3806b6_0 None
perl conda-forge/linux-64::perl-5.32.1-2_h7f98852_perl5 None
pillow conda-forge/linux-64::pillow-9.2.0-py39h2320bf1_4 None
pluggy conda-forge/noarch::pluggy-1.0.0-pyhd8ed1ab_5 None
pthread-stubs conda-forge/linux-64::pthread-stubs-0.4-h36c2ea0_1001 None
pybind11 conda-forge/linux-64::pybind11-2.10.2-py39h4b4f3f3_0 None
pybind11-global conda-forge/linux-64::pybind11-global-2.10.2-py39h4b4f3f3_0 None
pyerfa conda-forge/linux-64::pyerfa-2.0.0.1-py39h2ae25f5_3 None
pyparsing conda-forge/noarch::pyparsing-3.0.9-pyhd8ed1ab_0 None
pytest conda-forge/noarch::pytest-7.2.0-pyhd8ed1ab_2 None
python-dateutil conda-forge/noarch::python-dateutil-2.8.2-pyhd8ed1ab_0 None
pytz conda-forge/noarch::pytz-2022.7-pyhd8ed1ab_0 None
pyyaml conda-forge/linux-64::pyyaml-6.0-py39hb9d737c_5 None
ruamel.yaml conda-forge/linux-64::ruamel.yaml-0.17.21-py39hb9d737c_2 None
ruamel.yaml.clib conda-forge/linux-64::ruamel.yaml.clib-0.2.7-py39h72bdee0_1 None
scikit-learn conda-forge/linux-64::scikit-learn-1.2.0-py39h86b2a18_0 None
scipy conda-forge/linux-64::scipy-1.9.3-py39hddc5342_2 None
seaborn conda-forge/noarch::seaborn-0.12.1-hd8ed1ab_0 None
seaborn-base conda-forge/noarch::seaborn-base-0.12.1-pyhd8ed1ab_0 None
six conda-forge/noarch::six-1.16.0-pyh6c4a22f_0 None
statsmodels conda-forge/linux-64::statsmodels-0.13.5-py39h2ae25f5_2 None
sympy conda-forge/linux-64::sympy-1.11.1-py39hf3d152e_2 None
sysroot_linux-64 conda-forge/noarch::sysroot_linux-64-2.12-he073ed8_15 None
threadpoolctl conda-forge/noarch::threadpoolctl-3.1.0-pyh8a188c0_0 None
tomli conda-forge/noarch::tomli-2.0.1-pyhd8ed1ab_0 None
typing_extensions conda-forge/noarch::typing_extensions-4.4.0-pyha770c72_0 None
unicodedata2 conda-forge/linux-64::unicodedata2-15.0.0-py39hb9d737c_0 None
xorg-libxau conda-forge/linux-64::xorg-libxau-1.0.9-h7f98852_0 None
xorg-libxdmcp conda-forge/linux-64::xorg-libxdmcp-1.1.3-h7f98852_0 None
zeus-mcmc conda-forge/noarch::zeus-mcmc-2.4.1-pyhd8ed1ab_0 None
zipp conda-forge/noarch::zipp-3.11.0-pyhd8ed1ab_0 None
zstandard conda-forge/linux-64::zstandard-0.19.0-py39h29414ee_1 None
zstd conda-forge/linux-64::zstd-1.5.2-h6239696_4 None

The following packages will be REMOVED:

ruamel_yaml-0.15.80-py310h5764c6d_1008

The following packages will be UPDATED:

ca-certificates 2022.9.24-ha878542_0 --> 2022.12.7-ha878542_0 None
certifi 2022.9.24-pyhd8ed1ab_0 --> 2022.12.7-pyhd8ed1ab_0 None
cffi 1.15.1-py310h255011f_2 --> 1.15.1-py39he91dace_3 None
conda 22.9.0-py310hff52083_2 --> 22.11.1-py39hf3d152e_1 None
conda-package-han~ conda-forge/linux-64::conda-package-h~ --> conda-forge/noarch::conda-package-handling-2.0.2-pyh38be061_0 None
cryptography 38.0.3-py310h600f1e7_0 --> 38.0.4-py39h3ccb8fc_0 None
openssl 3.0.7-h166bdaf_0 --> 3.0.7-h0b41bf4_1 None

The following packages will be DOWNGRADED:

brotlipy 0.7.0-py310h5764c6d_1005 --> 0.7.0-py39hb9d737c_1005 None
pycosat 0.6.4-py310h5764c6d_1 --> 0.6.4-py39hb9d737c_1 None
python 3.10.6-ha86cf86_0_cpython --> 3.9.15-hba424b6_0_cpython None
python_abi 3.10-2_cp310 --> 3.9-3_cp39 None

Downloading and Extracting Packages
libdeflate-1.14 | 81 KB | ########## | 100%
zstandard-0.19.0 | 373 KB | ########## | 100%
libgcc-devel_linux-6 | 3.3 MB | ########## | 100%
libcblas-3.9.0 | 13 KB | ########## | 100%
freetype-2.12.1 | 611 KB | ########## | 100%
gsl-2.7 | 3.2 MB | ########## | 100%
ca-certificates-2022 | 143 KB | ########## | 100%
libopenblas-0.3.21 | 10.1 MB | ########## | 100%
libcurl-7.87.0 | 341 KB | ########## | 100%
xorg-libxau-1.0.9 | 13 KB | ########## | 100%
pillow-9.2.0 | 44.0 MB | ########## | 100%
expat-2.5.0 | 189 KB | ########## | 100%
kernel-headers_linux | 707 KB | ########## | 100%
binutils_impl_linux- | 12.4 MB | ########## | 100%
libedit-3.1.20191231 | 121 KB | ########## | 100%
attrs-22.2.0 | 53 KB | ########## | 100%
mpfr-4.1.0 | 2.6 MB | ########## | 100%
astropy-5.2 | 7.5 MB | ########## | 100%
cython-0.29.32 | 2.1 MB | ########## | 100%
c-compiler-1.5.1 | 5 KB | ########## | 100%
krb5-1.20.1 | 1.3 MB | ########## | 100%
pcre2-10.40 | 2.3 MB | ########## | 100%
typing_extensions-4. | 29 KB | ########## | 100%
compilers-1.5.1 | 5 KB | ########## | 100%
unicodedata2-15.0.0 | 500 KB | ########## | 100%
conda-package-stream | 17 KB | ########## | 100%
zstd-1.5.2 | 448 KB | ########## | 100%
gxx-10.4.0 | 24 KB | ########## | 100%
fitsio-1.1.8 | 728 KB | ########## | 100%
make-4.3 | 507 KB | ########## | 100%
libtiff-4.5.0 | 398 KB | ########## | 100%
tomli-2.0.1 | 16 KB | ########## | 100%
pthread-stubs-0.4 | 5 KB | ########## | 100%
openssl-3.0.7 | 2.5 MB | ########## | 100%
statsmodels-0.13.5 | 11.2 MB | ########## | 100%
gcc_linux-64-10.4.0 | 25 KB | ########## | 100%
scipy-1.9.3 | 26.2 MB | ########## | 100%
cfitsio-4.2.0 | 828 KB | ########## | 100%
numpy-1.24.0 | 6.4 MB | ########## | 100%
mock-4.0.3 | 28 KB | ########## | 100%
importlib-metadata-5 | 24 KB | ########## | 100%
future-0.18.2 | 356 KB | ########## | 100%
libstdcxx-ng-12.2.0 | 4.3 MB | ########## | 100%
fast-pt-3.1.0 | 37 KB | ########## | 100%
gxx_linux-64-10.4.0 | 25 KB | ########## | 100%
seaborn-base-0.12.1 | 217 KB | ########## | 100%
munkres-1.1.4 | 12 KB | ########## | 100%
xorg-libxdmcp-1.1.3 | 19 KB | ########## | 100%
libstdcxx-devel_linu | 9.6 MB | ########## | 100%
mpich-4.0.3 | 6.0 MB | ########## | 100%
gfortran-10.4.0 | 24 KB | ########## | 100%
pycosat-0.6.4 | 108 KB | ########## | 100%
brotli-bin-1.0.9 | 20 KB | ########## | 100%
pyerfa-2.0.0.1 | 447 KB | ########## | 100%
cycler-0.11.0 | 10 KB | ########## | 100%
zeus-mcmc-2.4.1 | 39 KB | ########## | 100%
libpng-1.6.39 | 276 KB | ########## | 100%
mpmath-1.2.1 | 437 KB | ########## | 100%
emcee-3.1.3 | 36 KB | ########## | 100%
libsanitizer-10.4.0 | 6.0 MB | ########## | 100%
pytz-2022.7 | 182 KB | ########## | 100%
zipp-3.11.0 | 15 KB | ########## | 100%
pyparsing-3.0.9 | 79 KB | ########## | 100%
cffi-1.15.1 | 229 KB | ########## | 100%
certifi-2022.12.7 | 147 KB | ########## | 100%
packaging-22.0 | 40 KB | ########## | 100%
python_abi-3.9 | 6 KB | ########## | 100%
pyyaml-6.0 | 179 KB | ########## | 100%
joblib-1.2.0 | 205 KB | ########## | 100%
minuit2_standalone-6 | 500 KB | ########## | 100%
fftw-3.3.10 | 2.1 MB | ########## | 100%
libbrotlicommon-1.0. | 66 KB | ########## | 100%
binutils-2.39 | 29 KB | ########## | 100%
pytest-7.2.0 | 220 KB | ########## | 100%
dynesty-2.0.3 | 84 KB | ########## | 100%
gmp-6.2.1 | 806 KB | ########## | 100%
six-1.16.0 | 14 KB | ########## | 100%
patsy-0.5.3 | 189 KB | ########## | 100%
mpi4py-3.1.4 | 614 KB | ########## | 100%
gmpy2-2.1.2 | 217 KB | ########## | 100%
libbrotlienc-1.0.9 | 288 KB | ########## | 100%
libgfortran-ng-12.2. | 22 KB | ########## | 100%
mpi-1.0 | 4 KB | ########## | 100%
libwebp-base-1.2.4 | 404 KB | ########## | 100%
fortran-compiler-1.5 | 5 KB | ########## | 100%
gfortran_impl_linux- | 14.8 MB | ########## | 100%
contourpy-1.0.6 | 234 KB | ########## | 100%
gcc-10.4.0 | 24 KB | ########## | 100%
git-2.39.0 | 9.3 MB | ########## | 100%
libgfortran5-12.2.0 | 1.8 MB | ########## | 100%
pybind11-global-2.10 | 163 KB | ########## | 100%
iniconfig-1.1.1 | 8 KB | ########## | 100%
libxcb-1.13 | 391 KB | ########## | 100%
openjpeg-2.5.0 | 344 KB | ########## | 100%
lcms2-2.14 | 235 KB | ########## | 100%
cxx-compiler-1.5.1 | 5 KB | ########## | 100%
matplotlib-base-3.6. | 7.5 MB | ########## | 100%
sysroot_linux-64-2.1 | 31.4 MB | ########## | 100%
conda-22.11.1 | 904 KB | ########## | 100%
ruamel.yaml-0.17.21 | 173 KB | ########## | 100%
libiconv-1.17 | 1.4 MB | ########## | 100%
libev-4.33 | 104 KB | ########## | 100%
camb-1.3.6 | 955 KB | ########## | 100%
exceptiongroup-1.1.0 | 18 KB | ########## | 100%
pandas-1.5.2 | 10.1 MB | ########## | 100%
lerc-4.0.0 | 275 KB | ########## | 100%
gxx_impl_linux-64-10 | 11.5 MB | ########## | 100%
cosmosis-2.2.3 | 2.3 MB | ########## | 100%
jpeg-9e | 269 KB | ########## | 100%
liblapack-3.9.0 | 13 KB | ########## | 100%
pluggy-1.0.0 | 16 KB | ########## | 100%
cryptography-38.0.4 | 1.3 MB | ########## | 100%
brotlipy-0.7.0 | 342 KB | ########## | 100%
brotli-1.0.9 | 18 KB | ########## | 100%
pybind11-2.10.2 | 175 KB | ########## | 100%
libblas-3.9.0 | 13 KB | ########## | 100%
mpc-1.2.1 | 106 KB | ########## | 100%
dulwich-0.20.50 | 670 KB | ########## | 100%
kiwisolver-1.4.4 | 76 KB | ########## | 100%
sympy-1.11.1 | 11.8 MB | ########## | 100%
libssh2-1.10.0 | 234 KB | ########## | 100%
fonttools-4.38.0 | 1.9 MB | ########## | 100%
binutils_linux-64-2. | 24 KB | ########## | 100%
seaborn-0.12.1 | 5 KB | ########## | 100%
libbrotlidec-1.0.9 | 33 KB | ########## | 100%
c-ares-1.18.1 | 113 KB | ########## | 100%
libnghttp2-1.47.0 | 824 KB | ########## | 100%
python-dateutil-2.8. | 240 KB | ########## | 100%
python-3.9.15 | 21.0 MB | ########## | 100%
ruamel.yaml.clib-0.2 | 140 KB | ########## | 100%
scikit-learn-1.2.0 | 7.2 MB | ########## | 100%
threadpoolctl-3.1.0 | 18 KB | ########## | 100%
gettext-0.21.1 | 4.1 MB | ########## | 100%
perl-5.32.1 | 14.4 MB | ########## | 100%
keyutils-1.6.1 | 115 KB | ########## | 100%
conda-package-handli | 247 KB | ########## | 100%
gfortran_linux-64-10 | 24 KB | ########## | 100%
cosmosis-build-stand | 9 KB | ########## | 100%
curl-7.87.0 | 85 KB | ########## | 100%
gcc_impl_linux-64-10 | 46.7 MB | ########## | 100%
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Retrieving notices: ...working... failed
Traceback (most recent call last):
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/conda/exceptions.py", line 1129, in call
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/conda/cli/main.py", line 86, in main_subshell
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/conda/cli/conda_argparse.py", line 93, in do_call
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/conda/notices/core.py", line 75, in wrapper
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/conda/notices/core.py", line 39, in display_notices
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/conda/notices/http.py", line 36, in get_notice_responses
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/conda/notices/http.py", line 39, in
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/concurrent/futures/_base.py", line 621, in result_iterator
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/concurrent/futures/_base.py", line 319, in _result_or_cancel
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/concurrent/futures/_base.py", line 458, in result
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/concurrent/futures/thread.py", line 58, in run
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/conda/notices/http.py", line 42, in
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/conda/notices/cache.py", line 37, in wrapper
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/conda/notices/http.py", line 58, in get_channel_notice_response
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/requests/sessions.py", line 600, in get
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/requests/adapters.py", line 460, in send
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/requests/adapters.py", line 263, in cert_verify
OSError: Could not find a suitable TLS CA certificate bundle, invalid path: /data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/certifi/cacert.pem

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/bin/conda", line 15, in
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/conda/cli/main.py", line 129, in main
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/conda/exceptions.py", line 1429, in conda_exception_handler
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/conda/exceptions.py", line 1132, in call
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/conda/exceptions.py", line 1172, in handle_exception
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/conda/exceptions.py", line 1183, in handle_unexpected_exception
File "/data/des91.b/data/mwang/cosmosisdesy6kp_0/env/lib/python3.10/site-packages/conda/exceptions.py", line 1245, in print_unexpected_error_report
ModuleNotFoundError: No module named 'conda.cli.main_info'

This appears to be a case of conda being unable to downgrade the version of python in an existing environment. Your solution of using python 3.10 instead does not make conda attempt this downgrade, and so it worked.

we wish to install this in cvmfs for some grid jobs however we would like to make sure our setup is consistent with that used for des y6kp, which I believe uses python 3.9. What solution would you recommend to fix this installation problem? We would like to start launching jobs early next week.

Rather than installing CosmoSIS into an existing conda environment, I would recommend following the generally-recommended practice of creating a new environment for each project. The command:

conda create -n YOUR-CHOICE-OF-NAME-HERE -y python=3.9 cosmosis cosmosis-build-standard-library

with whatever name you choose for YOUR-CHOICE-OF-NAME-HERE will create a conda environment with python 3.9 and all the required goodies. After the environment is created, you have to activate it using:

conda activate YOUR-CHOICE-OF-NAME-HERE

The first time you activate it, you'll also need to build the CosmoSIS standard library, following the directions on the CosmoSIS readthedocs site.

Thanks. I tried another approach -- installing an earlier version of Miniforge, prior to their switching to Python 3.10 as the default:
wget -O Miniforge3.sh https://github.com/conda-forge/miniforge/releases/download/4.13.0-1/Miniforge3-Linux-x86_64.sh
This allows the installation to complete successfully while still using Python 3.9.

Closing old issue - please reopen if needed.