Description
Solution to issue cannot be found in the documentation.
- I checked the documentation.
Issue
I'm not sure where to post this, but saw a very similar issue (#19801) reported here so figured I'd follow suit. I have a virtual environment installed that utilizes openssl 3.4.0, and the packages that need it all report >3.3.0 is needed for openssl when I run conda-tree depends -t <package>
. It seems like mamba is not finding the appropriate package, but I'm not even sure how to start debugging this.
Running on RHEL 9 machine. If I run python through the interpreter, I get no errors. But if I run it through a WSGI application (Flask), I get errors in the apache logs about an OpenSSL version missing, like these:
[Thu Nov 14 13:31:11.629663 2024] [wsgi:error] [pid 3162348:tid 3162534] /opt/miniforge3/envs/chap/lib/python3.12/site-packages/xarray/backends/plugins.py:110: RuntimeWarning: Engine 'rasterio' loading failed:
[Thu Nov 14 13:31:11.629693 2024] [wsgi:error] [pid 3162348:tid 3162534] /lib64/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /opt/miniforge3/envs/chap/lib/python3.12/site-packages/rasterio/../../.././libcurl.so.4)
[Thu Nov 14 13:31:11.641510 2024] [wsgi:error] [pid 3162348:tid 3162534] File "/opt/miniforge3/envs/chap/lib/python3.12/site-packages/xarray/backends/netCDF4_.py", line 415, in open
[Thu Nov 14 13:31:11.641513 2024] [wsgi:error] [pid 3162348:tid 3162534] import netCDF4
[Thu Nov 14 13:31:11.641519 2024] [wsgi:error] [pid 3162348:tid 3162534] File "/opt/miniforge3/envs/chap/lib/python3.12/site-packages/netCDF4/__init__.py", line 3, in <module>
[Thu Nov 14 13:31:11.641523 2024] [wsgi:error] [pid 3162348:tid 3162534] from ._netCDF4 import *
[Thu Nov 14 13:31:11.641541 2024] [wsgi:error] [pid 3162348:tid 3162534] ImportError: /lib64/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /opt/miniforge3/envs/chap/lib/python3.12/site-packages/netCDF4/../../.././libcurl.so.4)
Any ideas where I need to look or what I need to do to solve something like this? I have already tried deleting and reinstalling the virutal environment and cleaning cache with mamba clean --all
.
Installed packages
# Name Version Build Channel
_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 2_gnu conda-forge
affine 2.4.0 pyhd8ed1ab_0 conda-forge
archspec 0.2.3 pyhd8ed1ab_0 conda-forge
attrs 24.2.0 pyh71513ae_0 conda-forge
aws-c-auth 0.8.0 hcd8ed7f_7 conda-forge
aws-c-cal 0.8.0 he70792b_1 conda-forge
aws-c-common 0.10.0 hb9d3cd8_0 conda-forge
aws-c-compression 0.3.0 hba2fe39_1 conda-forge
aws-c-event-stream 0.5.0 h127f702_4 conda-forge
aws-c-http 0.9.0 h8a7d7e2_5 conda-forge
aws-c-io 0.15.1 h2a50c78_1 conda-forge
aws-c-mqtt 0.11.0 hd25e75f_5 conda-forge
aws-c-s3 0.7.0 h858c4ad_7 conda-forge
aws-c-sdkutils 0.2.1 hba2fe39_0 conda-forge
aws-checksums 0.2.0 hba2fe39_1 conda-forge
aws-crt-cpp 0.29.3 hbc793f2_2 conda-forge
aws-sdk-cpp 1.11.407 h5cd358a_9 conda-forge
azure-core-cpp 1.14.0 h5cfcd09_0 conda-forge
azure-identity-cpp 1.10.0 h113e628_0 conda-forge
azure-storage-blobs-cpp 12.13.0 h3cf044e_1 conda-forge
azure-storage-common-cpp 12.8.0 h736e048_1 conda-forge
azure-storage-files-datalake-cpp 12.12.0 ha633028_1 conda-forge
blinker 1.9.0 pyhff2d567_0 conda-forge
blosc 1.21.6 hef167b5_0 conda-forge
bokeh 3.6.1 pyhd8ed1ab_0 conda-forge
boltons 24.0.0 pyhd8ed1ab_0 conda-forge
branca 0.7.2 pyhd8ed1ab_0 conda-forge
brotli 1.1.0 hb9d3cd8_2 conda-forge
brotli-bin 1.1.0 hb9d3cd8_2 conda-forge
brotli-python 1.1.0 py312h2ec8cdc_2 conda-forge
bzip2 1.0.8 h4bc722e_7 conda-forge
c-ares 1.34.3 heb4867d_0 conda-forge
ca-certificates 2024.8.30 hbcca054_0 conda-forge
certifi 2024.8.30 pyhd8ed1ab_0 conda-forge
cffi 1.17.1 py312h06ac9bb_0 conda-forge
cftime 1.6.4 py312hc0a28a1_1 conda-forge
charset-normalizer 3.4.0 pyhd8ed1ab_0 conda-forge
click 8.1.7 unix_pyh707e725_0 conda-forge
click-plugins 1.1.1 py_0 conda-forge
cligj 0.7.2 pyhd8ed1ab_1 conda-forge
cloudpickle 3.1.0 pyhd8ed1ab_1 conda-forge
colorama 0.4.6 pyhd8ed1ab_0 conda-forge
conda 24.9.2 py312h7900ff3_0 conda-forge
conda-libmamba-solver 24.9.0 pyhd8ed1ab_0 conda-forge
conda-package-handling 2.4.0 pyh7900ff3_0 conda-forge
conda-package-streaming 0.11.0 pyhd8ed1ab_0 conda-forge
conda-tree 1.1.0 pyhd8ed1ab_2 conda-forge
contourpy 1.3.1 py312h68727a3_0 conda-forge
cycler 0.12.1 pyhd8ed1ab_0 conda-forge
cyrus-sasl 2.1.27 h54b06d7_7 conda-forge
cytoolz 1.0.0 py312h66e93f0_1 conda-forge
dask 2024.11.2 pyhd8ed1ab_0 conda-forge
dask-core 2024.11.2 pyhd8ed1ab_0 conda-forge
dask-expr 1.1.19 pyhd8ed1ab_0 conda-forge
distributed 2024.11.2 pyhd8ed1ab_0 conda-forge
distro 1.9.0 pyhd8ed1ab_0 conda-forge
dnspython 2.7.0 pyhff2d567_0 conda-forge
email-validator 2.2.0 pyhd8ed1ab_0 conda-forge
email_validator 2.2.0 hd8ed1ab_0 conda-forge
flask 3.1.0 pyhff2d567_0 conda-forge
flask-cors 5.0.0 pyhd8ed1ab_0 conda-forge
flask-sqlalchemy 3.1.1 pyhd8ed1ab_0 conda-forge
fmt 11.0.2 h434a139_0 conda-forge
folium 0.18.0 pyhd8ed1ab_0 conda-forge
fonttools 4.54.1 py312h178313f_1 conda-forge
freetype 2.12.1 h267a509_2 conda-forge
freexl 2.0.0 h743c826_0 conda-forge
frozendict 2.4.6 py312h66e93f0_0 conda-forge
fsspec 2024.10.0 pyhff2d567_0 conda-forge
geoalchemy2 0.16.0 pyhd8ed1ab_0 conda-forge
geopandas 1.0.1 pyhd8ed1ab_1 conda-forge
geopandas-base 1.0.1 pyha770c72_1 conda-forge
geos 3.13.0 h5888daf_0 conda-forge
geotiff 1.7.3 h77b800c_3 conda-forge
gflags 2.2.2 h5888daf_1005 conda-forge
giflib 5.2.2 hd590300_0 conda-forge
glog 0.7.1 hbabe93e_0 conda-forge
greenlet 3.1.1 py312h2ec8cdc_0 conda-forge
h2 4.1.0 pyhd8ed1ab_0 conda-forge
hdf4 4.2.15 h2a13503_7 conda-forge
hdf5 1.14.3 nompi_hdf9ad27_105 conda-forge
hpack 4.0.0 pyh9f0ad1d_0 conda-forge
hyperframe 6.0.1 pyhd8ed1ab_0 conda-forge
icu 75.1 he02047a_0 conda-forge
idna 3.10 pyhd8ed1ab_0 conda-forge
importlib-metadata 8.5.0 pyha770c72_0 conda-forge
importlib_metadata 8.5.0 hd8ed1ab_0 conda-forge
itsdangerous 2.2.0 pyhd8ed1ab_0 conda-forge
jinja2 3.1.4 pyhd8ed1ab_0 conda-forge
joblib 1.4.2 pyhd8ed1ab_0 conda-forge
json-c 0.18 h6688a6e_0 conda-forge
jsonpatch 1.33 pyhd8ed1ab_0 conda-forge
jsonpointer 3.0.0 py312h7900ff3_1 conda-forge
keyutils 1.6.1 h166bdaf_0 conda-forge
kiwisolver 1.4.7 py312h68727a3_0 conda-forge
krb5 1.21.3 h659f571_0 conda-forge
lcms2 2.16 hb7c19ff_0 conda-forge
ld_impl_linux-64 2.43 h712a8e2_2 conda-forge
lerc 4.0.0 h27087fc_0 conda-forge
libabseil 20240722.0 cxx17_h5888daf_1 conda-forge
libaec 1.1.3 h59595ed_0 conda-forge
libarchive 3.7.4 hfca40fe_0 conda-forge
libarrow 18.0.0 h3e543c6_4_cpu conda-forge
libarrow-acero 18.0.0 h5888daf_4_cpu conda-forge
libarrow-dataset 18.0.0 h5888daf_4_cpu conda-forge
libarrow-substrait 18.0.0 h5c8f2c3_4_cpu conda-forge
libblas 3.9.0 25_linux64_openblas conda-forge
libbrotlicommon 1.1.0 hb9d3cd8_2 conda-forge
libbrotlidec 1.1.0 hb9d3cd8_2 conda-forge
libbrotlienc 1.1.0 hb9d3cd8_2 conda-forge
libcblas 3.9.0 25_linux64_openblas conda-forge
libcrc32c 1.1.2 h9c3ff4c_0 conda-forge
libcurl 8.10.1 hbbe4b11_0 conda-forge
libdeflate 1.22 hb9d3cd8_0 conda-forge
libedit 3.1.20191231 he28a2e2_2 conda-forge
libev 4.33 hd590300_2 conda-forge
libevent 2.1.12 hf998b51_1 conda-forge
libexpat 2.6.4 h5888daf_0 conda-forge
libffi 3.4.2 h7f98852_5 conda-forge
libgcc 14.2.0 h77fa898_1 conda-forge
libgcc-ng 14.2.0 h69a702a_1 conda-forge
libgdal-core 3.9.3 hef9eae6_3 conda-forge
libgfortran 14.2.0 h69a702a_1 conda-forge
libgfortran-ng 14.2.0 h69a702a_1 conda-forge
libgfortran5 14.2.0 hd5240d6_1 conda-forge
libgomp 14.2.0 h77fa898_1 conda-forge
libgoogle-cloud 2.31.0 h804f50b_0 conda-forge
libgoogle-cloud-storage 2.31.0 h0121fbd_0 conda-forge
libgrpc 1.67.1 hc2c308b_0 conda-forge
libiconv 1.17 hd590300_2 conda-forge
libjpeg-turbo 3.0.0 hd590300_1 conda-forge
libkml 1.3.0 hf539b9f_1021 conda-forge
liblapack 3.9.0 25_linux64_openblas conda-forge
libmamba 1.5.10 hf72d635_1 conda-forge
libmambapy 1.5.10 py312hf3f0a4e_1 conda-forge
libnetcdf 4.9.2 nompi_h135f659_114 conda-forge
libnghttp2 1.64.0 h161d5f1_0 conda-forge
libnsl 2.0.1 hd590300_0 conda-forge
libntlm 1.4 h7f98852_1002 conda-forge
libopenblas 0.3.28 pthreads_h94d23a6_1 conda-forge
libparquet 18.0.0 h6bd9018_4_cpu conda-forge
libpng 1.6.44 hadc24fc_0 conda-forge
libpq 17.0 h04577a9_4 conda-forge
libprotobuf 5.28.2 h5b01275_0 conda-forge
libre2-11 2024.07.02 hbbce691_1 conda-forge
librttopo 1.1.0 h97f6797_17 conda-forge
libsolv 0.7.30 h3509ff9_0 conda-forge
libspatialite 5.1.0 h1b4f908_11 conda-forge
libsqlite 3.47.0 hadc24fc_1 conda-forge
libssh2 1.11.0 h0841786_0 conda-forge
libstdcxx 14.2.0 hc0a3c3a_1 conda-forge
libstdcxx-ng 14.2.0 h4852527_1 conda-forge
libthrift 0.21.0 h0e7cc3e_0 conda-forge
libtiff 4.7.0 he137b08_1 conda-forge
libutf8proc 2.8.0 h166bdaf_0 conda-forge
libuuid 2.38.1 h0b41bf4_0 conda-forge
libwebp-base 1.4.0 hd590300_0 conda-forge
libxcb 1.17.0 h8a09558_0 conda-forge
libxcrypt 4.4.36 hd590300_1 conda-forge
libxml2 2.13.5 hb346dea_0 conda-forge
libzip 1.11.2 h6991a6a_0 conda-forge
libzlib 1.3.1 hb9d3cd8_2 conda-forge
locket 1.0.0 pyhd8ed1ab_0 conda-forge
lz4 4.3.3 py312hb3f7f12_1 conda-forge
lz4-c 1.9.4 hcb278e6_0 conda-forge
lzo 2.10 hd590300_1001 conda-forge
mapclassify 2.8.1 pyhd8ed1ab_0 conda-forge
markupsafe 3.0.2 py312h178313f_0 conda-forge
matplotlib-base 3.9.2 py312hd3ec401_2 conda-forge
menuinst 2.2.0 py312h7900ff3_0 conda-forge
minizip 4.0.7 h401b404_0 conda-forge
msgpack-python 1.1.0 py312h68727a3_0 conda-forge
msgspec 0.18.6 py312h98912ed_0 conda-forge
munkres 1.1.4 pyh9f0ad1d_0 conda-forge
ncurses 6.5 he02047a_1 conda-forge
netcdf4 1.7.1 nompi_py312h21d6d8e_102 conda-forge
networkx 3.4.2 pyh267e887_2 conda-forge
numpy 2.1.3 py312h58c1407_0 conda-forge
openjpeg 2.5.2 h488ebb8_0 conda-forge
openldap 2.6.8 hedd0468_0 conda-forge
openssl 3.4.0 hb9d3cd8_0 conda-forge
orc 2.0.2 he039a57_2 conda-forge
packaging 24.2 pyhd8ed1ab_0 conda-forge
pandas 2.2.3 py312hf9745cd_1 conda-forge
partd 1.4.2 pyhd8ed1ab_0 conda-forge
pcre2 10.44 hba22ea6_2 conda-forge
pillow 11.0.0 py312h7b63e92_0 conda-forge
pip 24.3.1 pyh8b19718_0 conda-forge
platformdirs 4.3.6 pyhd8ed1ab_0 conda-forge
pluggy 1.5.0 pyhd8ed1ab_0 conda-forge
proj 9.5.0 h12925eb_0 conda-forge
psutil 6.1.0 py312h66e93f0_0 conda-forge
psycopg2 2.9.9 py312hfaedaf9_2 conda-forge
pthread-stubs 0.4 hb9d3cd8_1002 conda-forge
pyarrow 18.0.0 py312h7900ff3_1 conda-forge
pyarrow-core 18.0.0 py312h01725c0_1_cpu conda-forge
pybind11-abi 4 hd8ed1ab_3 conda-forge
pycosat 0.6.6 py312h98912ed_0 conda-forge
pycparser 2.22 pyhd8ed1ab_0 conda-forge
pyogrio 0.10.0 py312he8b4914_0 conda-forge
pyparsing 3.2.0 pyhd8ed1ab_1 conda-forge
pyproj 3.7.0 py312he630544_0 conda-forge
pysocks 1.7.1 pyha2e5f31_6 conda-forge
python 3.12.6 hc5c86c4_2_cpython conda-forge
python-dateutil 2.9.0 pyhd8ed1ab_0 conda-forge
python-dotenv 1.0.1 pyhd8ed1ab_0 conda-forge
python-tzdata 2024.2 pyhd8ed1ab_0 conda-forge
python_abi 3.12 5_cp312 conda-forge
pytz 2024.1 pyhd8ed1ab_0 conda-forge
pyyaml 6.0.2 py312h66e93f0_1 conda-forge
qhull 2020.2 h434a139_5 conda-forge
rasterio 1.4.2 py312h8456570_0 conda-forge
re2 2024.07.02 h77b4e00_1 conda-forge
readline 8.2 h8228510_1 conda-forge
reproc 14.2.4.post0 hd590300_1 conda-forge
reproc-cpp 14.2.4.post0 h59595ed_1 conda-forge
requests 2.32.3 pyhd8ed1ab_0 conda-forge
rioxarray 0.17.0 pyhd8ed1ab_0 conda-forge
ruamel.yaml 0.18.6 py312h66e93f0_1 conda-forge
ruamel.yaml.clib 0.2.8 py312h66e93f0_1 conda-forge
s2n 1.5.7 hd3e8b83_0 conda-forge
scikit-learn 1.5.2 py312h7a48858_1 conda-forge
scipy 1.14.1 py312h62794b6_1 conda-forge
setuptools 75.3.0 pyhd8ed1ab_0 conda-forge
shapely 2.0.6 py312h391bc85_2 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
snappy 1.2.1 ha2e4443_0 conda-forge
sniffio 1.3.1 pyhd8ed1ab_0 conda-forge
snuggs 1.4.7 pyhd8ed1ab_1 conda-forge
sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge
sqlalchemy 2.0.36 py312h66e93f0_0 conda-forge
sqlite 3.47.0 h9eae976_1 conda-forge
tblib 3.0.0 pyhd8ed1ab_0 conda-forge
threadpoolctl 3.5.0 pyhc1e730c_0 conda-forge
tk 8.6.13 noxft_h4845f30_101 conda-forge
toolz 1.0.0 pyhd8ed1ab_0 conda-forge
tornado 6.4.1 py312h66e93f0_1 conda-forge
tqdm 4.67.0 pyhd8ed1ab_0 conda-forge
truststore 0.10.0 pyhd8ed1ab_0 conda-forge
typing-extensions 4.12.2 hd8ed1ab_0 conda-forge
typing_extensions 4.12.2 pyha770c72_0 conda-forge
tzdata 2024b hc8b5060_0 conda-forge
unicodedata2 15.1.0 py312h66e93f0_1 conda-forge
uriparser 0.9.8 hac33072_0 conda-forge
urllib3 2.2.3 pyhd8ed1ab_0 conda-forge
werkzeug 3.1.3 pyhff2d567_0 conda-forge
wheel 0.45.0 pyhd8ed1ab_0 conda-forge
xarray 2024.10.0 pyhd8ed1ab_0 conda-forge
xerces-c 3.2.5 h988505b_2 conda-forge
xorg-libxau 1.0.11 hb9d3cd8_1 conda-forge
xorg-libxdmcp 1.1.5 hb9d3cd8_0 conda-forge
xyzservices 2024.9.0 pyhd8ed1ab_0 conda-forge
xz 5.2.6 h166bdaf_0 conda-forge
yaml 0.2.5 h7f98852_2 conda-forge
yaml-cpp 0.8.0 h59595ed_0 conda-forge
zict 3.0.0 pyhd8ed1ab_0 conda-forge
zipp 3.21.0 pyhd8ed1ab_0 conda-forge
zlib 1.3.1 hb9d3cd8_2 conda-forge
zstandard 0.23.0 py312hef9b889_1 conda-forge
zstd 1.5.6 ha6fb4c9_0 conda-forge
Environment info
active environment : chap
active env location : /opt/miniforge3/envs/chap
shell level : 2
user config file : /root/.condarc
populated config files : /opt/miniforge3/.condarc
conda version : 24.7.1
conda-build version : not installed
python version : 3.12.6.final.0
solver : libmamba (default)
virtual packages : __archspec=1=skylake_avx512
__conda=24.7.1=0
__glibc=2.34=0
__linux=5.14.0=0
__unix=0=0
base environment : /opt/miniforge3 (writable)
conda av data dir : /opt/miniforge3/etc/conda
conda av metadata url : None
channel URLs : https://conda.anaconda.org/conda-forge/linux-64
https://conda.anaconda.org/conda-forge/noarch
package cache : /opt/miniforge3/pkgs
/root/.conda/pkgs
envs directories : /opt/miniforge3/envs
/root/.conda/envs
platform : linux-64
user-agent : conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/5.14.0-427.42.1.el9_4.x86_64 rhel/9.4 glibc/2.34 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9
UID:GID : 0:0
netrc file : None
offline mode : False