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.
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
When I do conda install PyAudio, this error comes up in my terminal. My Python version is Python 3.10.7.
PS C:\Users\Admin\PycharmProjects\pythonProject2> conda --version
conda 4.12.0
PS C:\Users\Admin\PycharmProjects\pythonProject2> conda install PyAudio
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 abor|
failed
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- pyaudio -> python[version='>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.5,<3.6.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.
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 new to Python. I installed miniconda to get packages iminuit and minuit. To do this, I created a new environment to avoid conflicts. But when I try to install minuit with the command
conda install minuit -c conda-forge
I get the following error messages:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- minuit
Current channels:
- https://conda.anaconda.org/conda-forge/osx-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/osx-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/osx-64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
How can I solve this?
Exactly as the messages say, the package isn't available in the current channels. If you look on anaconda.org you will find:
https://anaconda.org/mutirri/minuit which says:
To install this package with conda run one of the following: conda install -c mutirri minuit conda install -c mutirri/label/all minuit
I'm not sure of the versioning of CERN's ROOT packages, but I guess that they no longer support Minuit package, instead Imminuit which is more lightweight and Jupyter friendly.
So you can install this package with this command, according to here:
conda install -c anaconda iminuit
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