I am installing cuml using conda
conda install -c rapidsai cuml=21.12
This is the trace I get:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.31=0
- cuml=21.12 -> cupy[version='>=7.8.0,<10.0.0a0'] -> __glibc[version='>=2.17|>=2.17,<3.0.a0']
- python=3.8 -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
Your installed version is: 2.31
My confusion is that it's saying I need a __glibc version of greater than 2.17 but I have an installed version of 2.31.
Ignoring Conda's poor conflict reporting, RAPIDS has very specific channel specification (rapidsai > nvidia > conda-forge), so that could be affecting the solving. It might be sufficient to include those channels:
conda install -c rapidsai -c nvidia -c conda-forge cuml=21.12
However, it could also be the case that something previously installed is preventing correct installation. Moreover, when packages require specialized channels it is generally better practice to create a dedicated environment:
conda create -n cuml -c rapidsai -c nvidia -c conda-forge cuml=21.12
This latter is similar to what the RAPIDS installation selector generates.
Besides trying, this
conda create -n cuml -c rapidsai -c nvidia -c conda-forge cuml=21.12
from the previous post of #merv, just try that:
conda create -n cuml -c rapidsai -c nvidia -c conda-forge cuml
should solve the problem.
Related
I'm trying to install MultiNEAT library with the following command:
conda install -c conda-forge multineat
The process hangs at "Solving environment" step:
conda install -c conda-forge multineat
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: \
Is it possible to fix this?
I tried the following commands before installing MultiNEAT again, but it didn't help:
conda config --set channel_priority false
conda update conda
conda update --all --yes
MultiNEAT has not been undergoing active development and so the last build of it on Conda Forge was with Python 3.6. Since this is an EOL version of Python one should not be installing this into an existing environment, but creating a dedicated environment for it. Furthermore, the package metadata provides only lower bounds, which one should expect to be problematic because of API changes. Try something like:
multineat.yaml
name: multineat
channels:
- conda-forge
dependencies:
- python=3.6
- multineat
- boost=1.67
- matplotlib=2.2
- numpy=1.11
- opencv=3.3
and create with
conda env create -n multineat -f multineat.yaml
I've been trying to install QIIME2 on Linux with the command
conda install -c qiime2 qiime2
and get this error message:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort. failed
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- qiime2 -> python[version='>=3.6,<3.7.0a0|>=3.8,<3.9.0a0']
Your python: python=3.9
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
The following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.31=0
- feature:|#/linux-64::__glibc==2.31=0
Your installed version is: 2.31`
I even tried installing it another way using:
conda env create -n qiime2 --file qiime2.yml
and get another error:
Collecting package metadata (repodata.json): done
Solving environment: failed
ResolvePackageNotFound:
- libgfortran=4.0.0
- appnope=0.1.0
I'm very new to this so any help on how I could maybe solve this would be greatly appreciated.
Thanks!
./conda install -c anaconda appnope
./conda install -c anaconda libgfortran
I'm trying to install open3d into my conda environment. This is what I did:
conda create --name env python=3.9 -y
conda activate env
conda install -c open3d-admin open3d
But the last command fails with this output:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.35=0
- python=3.9 -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
Your installed version is: 2.35
Works with Conda Forge
Not documented, but seems like their packages are built with the conda-forge channel prioritized. So, instead try:
conda create -n env -c conda-forge -c open3d-admin python=3.9 open3d
or use YAML:
so-open3d.yaml
name: so-open3d
channels:
- conda-forge
- open3d-admin
- nodefaults
dependencies:
- python=3.9
- open3d
with
conda env create -n env -f so-open3d.yaml
I am looking for help installing wand as a Conda newbie. I was successful installing and using wand outside of Conda on this machine. I am running ImageMagick-7.0.10-Q16-HDRI system-wide. When I run:
conda install -c conda-forge wand
or
conda install -c conda-forge/label/cf202003 wand
as recommended at conda forge, this is the result:
conda install -c conda-forge/label/cf202003 wand
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your CUDA driver:
- feature:/win-64::__cuda==10.2=0
Your installed CUDA driver is: 10.2
It turns out that the conda error message is misleading. The wand package at conda-forge is in error. Instead I installed wand through pip:
conda install pip
pip install Wand
I have tried installing a program called multiqc and it throws this error when I try to install it in my conda environment, I have tried to install alternative version of python contained in the list but it doesn't appear to be working.
The command
conda install -c bioconda multiqc
The install
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed \
And finally the error
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- multiqc -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|3.4.*']
Your python: python=3.7
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
The command to install MultiQC should not use -c bioconda. Instead, set up the conda channels as per the bioconda documentation and install without the -c flag:
# Only need to do this once
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
# Install MultiQC
conda install multiqc
If you prefer, you can also install from PyPI or multiple other sources: https://multiqc.info/docs/#installing-multiqc
MultiQC works and is tested on Python 3.6-3.9 at the time of writing. 3.7 should definitely work, so that's not the issue.