I’m trying to install MongoDB in a notebook on Anaconda Cloud environment with:
conda install mongodb
but I get this error message:
Channels:
- defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed
LibMambaUnsatisfiableError: Encountered problems while solving:
- package aws-sdk-cpp-1.8.185-hce553d0_0 requires aws-c-common >=0.4.57,<0.4.58.0a0, but none of the providers can be installed
Could not solve for environment specs
The following packages are incompatible
├─ aws-c-common 0.6.8.* is requested and can be installed;
├─ aws-sdk-cpp 1.8.185.* is installable with the potential options
│ ├─ aws-sdk-cpp 1.8.185 would require
│ │ └─ openssl [3.* |>=3.0.8,<4.0a0 ], which can be installed;
│ └─ aws-sdk-cpp 1.8.185 would require
│ └─ aws-c-common >=0.4.57,<0.4.58.0a0 , which conflicts with any installable versions previously reported;
├─ cryptography 41.0.3.* is installable with the potential options
│ ├─ cryptography 41.0.3 would require
│ │ └─ openssl >=1.1.1v,<1.1.2a , which conflicts with any installable versions previously reported;
│ ├─ cryptography 41.0.3 would require
│ │ └─ openssl >=3.0.10,<4.0a0 , which can be installed;
│ ├─ cryptography 41.0.3 would require
│ │ └─ python >=3.10,<3.11.0a0 , which can be installed;
│ ├─ cryptography 41.0.3 would require
│ │ └─ python >=3.12,<3.13.0a0 , which can be installed;
│ ├─ cryptography 41.0.3 would require
│ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ └─ cryptography 41.0.3 would require
│ └─ python >=3.9,<3.10.0a0 , which can be installed;
├─ mongodb is not installable because there are no viable options
│ ├─ mongodb 3.4.10 would require
│ │ └─ openssl >=1.0.2l,<1.0.3a , which conflicts with any installable versions previously reported;
│ ├─ mongodb 3.6.5 would require
│ │ └─ openssl >=1.0.2o,<1.0.3a , which conflicts with any installable versions previously reported;
│ ├─ mongodb 4.0.2 would require
│ │ └─ openssl >=1.0.2p,<1.0.3a , which conflicts with any installable versions previously reported;
│ └─ mongodb 4.0.3 would require
│ └─ openssl >=1.1.1a,<1.1.2a , which conflicts with any installable versions previously reported;
└─ pin-1 is not installable because it requires
└─ python 3.11.* , which conflicts with any installable versions previously reported.
Pins seem to be involved in the conflict. Currently pinned specs:
- python 3.11.* (labeled as 'pin-1')
Note: you may need to restart the kernel to use updated packages.
How can I select the appropriate conda environment and MongoDB version to make the installation work?
Thank you for help.