installing spyder on anaconda virtual environment: stick at solving environment - python

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?

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.

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

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

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

Serious anaconda error :failed with repodata from current_repodata.json

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.

boto3 won't install on anaconda-2020.07 when anaconda is installed /apps/anaconda3-2020.07/

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.

Categories

Resources