I got fatal problem with using anaconda.
When I use conda update, conda install
Always arise failed with repodata from current_repodata.json, will retry with next repodata source.
And It take several "HOUR" then fail to search packages.
Even I cannot do:
conda update --all OR conda update -n base conda
I don't know what happened my server.
Error example below:
(base) [hanjg#h5 ~]$ conda update conda -c conda-canary
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Solving environment: failed with repodata from current_repodata.json, will retry with
next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
Solving environment: | failed
CondaError: KeyboardInterrupt(->It takes too much time so I interrupt)
My conda channel list: default (Last priority), conda-forge(Top priority), bioconda
other server computer works well(it is not problem with internet or network authorization.)
Best regards.
I had the same issue and have been trying to fix for hours. Setting channel priority to false seems to be the thing that has worked best so far. In the end, to get things working I:
Deleted all traces of conda and did fresh install
Started with: conda config --set channel_priority false
Then: conda update conda
Followed by: conda update --all --yes
Then started installing my usual packages etc.
Related
I made a virtual environment called Python3613 (an older version of Python) to do some homework. Homework sadly only can work in this version. I tried to install Spyder on this environment, but it is stuck at the following:
(Python3613) C:\Users\ikim1>conda install spyder
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: \
I have tried the code :
(Python3613) C:\Users\ikim1>conda config --set channel_priority strict
But I think i should specify channel priority is for the virtual environment.
anyways, How can I solve this stuck issue?
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've been unable to install boto3 on Anaconda3-2020.07. I have tried on AWS linux and Ubuntu Linux. I am installing Anaconda at /apps/anaconda3-2020.07/.
The errors I get are like this:
$ conda install -c anaconda boto3
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: /
It then spins for 30 minutes or so, decides that literally hundreds of packages have to be updated, and fails.
I've never seen anything like this before. boto3 installed with pip with no problem at all.
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.