Unsatisfiable error installing QIIME in conda environment glibc==2.31=0 - python

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

Related

UnsatisfiableError when using conda install PyAudio

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.

Geopandas conda install UnsatisfiableError glibc

This is a new anaconda3 installation on centos 7.9 and geopandas is not getting installed due to UnsatisfiableError.
$ conda --version is conda 4.13.0
$conda install geopandas
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.17=0
- python=3.9 -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
Your installed version is: 2.17
Any thoughts how to fix install geopandas?
I have the same issue here, same version of conda (4.13.0).
I re-installed anaconda from the latest available script (2022.05), same issue.
I resolved the problem by installing geopandas using
pip install geopandas

Can't install graphviz by using "conda install python-graphviz" or "conda install graphviz"

I tried install graphviz package using pip install graphviz, and I succesfully import it in jupyter notebook with python3, but failed to run the code below:
s = Source.from_file("tree_test.dot")
s.view()
The tree_test.dot file is under the current working directory. The error message is:
ExecutableNotFound: failed to execute ['dot', '-Kdot', '-Tpdf', '-O', 'tree_test.dot'], make sure the Graphviz executables are on your systems' PATH
I was advised to uninstall graphviz first using pip uninstall graphviz and then tried conda install graphviz and conda install python-graphviz, respectively. But both of them failed to install graphviz and here is the 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.
.....
#(spend long time examining conflict and shows what those conflicts are but still failed to install graphviz)#
According to Anaconda's package documentation, You need to type:
conda install -c anaconda graphviz

Install wand package in Conda on Windows

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

Installing multiqc on Conda produces "UnsatisfiableError:"

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.

Categories

Resources