mamba
mamba copied to clipboard
Cannot re-create environment that worked previously. "warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY"
Troubleshooting docs
- [X] My problem is not solved in the Troubleshooting docs
How did you install Mamba?
Mambaforge
Search tried in issue tracker
SOLVER_RULE_STRICT_REPO_PRIORITY
Latest version of Mamba
- [X] My problem is not solved with the latest version
Tried in Conda?
I do not have this problem with Conda, just with Mamba
Describe your issue
I could not rebuild an environment that I had working previously (same machine, same .yml). Particularly, I'm getting this warning I haven't seen before: warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
I originally posted this in conda/conda-libmamba-solver
(https://github.com/conda/conda-libmamba-solver/issues/206) where the suggestion to add CONDA_CHANNEL_PRIORITY=flexible
solved the issue.
mamba info / micromamba info
active environment : None
shell level : 0
user config file : /home/peter/.condarc
populated config files : /home/peter/mambaforge/.condarc
/home/peter/.condarc
conda version : 23.3.1
conda-build version : not installed
python version : 3.10.6.final.0
virtual packages : __archspec=1=x86_64
__cuda=11.6=0
__glibc=2.31=0
__linux=5.14.0=0
__unix=0=0
base environment : /home/peter/mambaforge (writable)
conda av data dir : /home/peter/mambaforge/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 : /home/peter/mambaforge/pkgs
/home/peter/.conda/pkgs
envs directories : /home/peter/mambaforge/envs
/home/peter/.conda/envs
platform : linux-64
user-agent : conda/23.3.1 requests/2.28.1 CPython/3.10.6 Linux/5.14.0-1059-oem ubuntu/20.04.6 glibc/2.31
UID:GID : 1000:1000
netrc file : None
offline mode : False
Logs
❯ mamba env create --file ./env/base_conda_env.yml --name jax_cuda
conda-forge/linux-64 Using cache
conda-forge/noarch Using cache
nvidia/linux-64 Using cache
nvidia/noarch Using cache
Looking for: ["pip[version='>=23']", "python[version='>=3.10,<3.12']", "cuda-nvcc[version='>=11,<13']", 'cudnn', "jax[version='>=0.4.3,<1']", "jaxlib[version='>=0.4.3,<1']", "jaxtyping[version='>=0.2.11,<1']", "joblib[version='>=1.2.0,<2']", "pandas[version='>=1.5.3,<2']", "numpy[version='>=1.23,<2']", "scipy[version='>=1.10,<2']", "xarray[version='>=2023.2,<2024']", "numba[version='>=0.51,<1']"]
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
Could not solve for environment specs
The following packages are incompatible
└─ cuda-nvcc >=11,<13 is installable with the potential options
├─ cuda-nvcc 12.0.76 would require
│ └─ cuda-version >=12.0,<12.1.0a0 , which requires
│ └─ __cuda >=12 , which can be installed;
└─ cuda-nvcc [11.3.58|11.4.100|...|12.1.66] conflicts with any installable versions previously reported.
environment.yml
channels:
- conda-forge
- nvidia
dependencies:
# Python interpreter and Pip
- pip>=23
- python>=3.10,<3.12
# CUDA (Uncomment this if installing for CPU!)
- cuda-nvcc>=11,<13
- cudnn
# JAX
- jax>=0.4.3,<1
- jaxlib>=0.4.3,<1
- jaxtyping>=0.2.11,<1
# Packages
- joblib>=1.2.0,<2
- pandas>=1.5.3,<2
- numpy>=1.23,<2
- scipy>=1.10,<2
- xarray>=2023.2,<2024
- numba>=0.51,<1
- pip:
- molmass>=2022.12,<2024
- simple-pytree>=0.2.0,<1
~/.condarc
auto_activate_base: false
channel_priority: strict