Phyton How to fix “UnsatisfiableError: The following specifications were found to be incompatible with each other: - pip -> python=3.6” python unsatisfiableerror,python install unsatisfiableerror,conda install python unsatisfiableerror

So, i trying to install with the command ecmwf api client conda install -c conda-forge ecmwf-api-client then the warning in the title shows up. I don't know how to proceede

(base) C:\Users\caina>conda install -c conda-forge ecmwf-api-client Collecting package metadata (current_repodata.json): done Solving environment: failed Collecting package metadata (repodata.json): done Solving environment: failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

  • pip -> python=3.6
Answer:1

Install into a new environment instead of the conda base environment. Recent Anaconda and Miniconda installers have Python 3.7 in the base environment, but you're trying to install something that requires Python 3.6.

Answer:2

Don't know if you managed to fix this but in case some others got stuck here is the solution that I found:

Just simply used pip3 inside of conda env. It has installed opencv for python3.6 without any issue:

pip3 install opencv-python
Answer:3

As others have said, it's recommended to create a new, clean environment and conda install into that.

This can be done with the following:

# Create new environment
conda create --name <name>
# Activate new environment
conda activate <name>
# Install packages into new environment
conda install -c conda-forge ecmwf-api-client

It's a good idea to keep various environments for different projects. You can then use conda deactivate/conda activate <name> and install any packages into the correct environment. This also allows you to easily swap between different versions of python, or individual software packages.

Answer:4



  1. python unsatisfiableerror
  2. python install unsatisfiableerror
  3. conda install python unsatisfiableerror

I'm trying to use Travis CI on a C library that uses custom python3-based build scripts. When the repository gets built, it fails on ./configure because configure uses Python 3, which isn't installed ...

I'm trying to use Travis CI on a C library that uses custom python3-based build scripts. When the repository gets built, it fails on ./configure because configure uses Python 3, which isn't installed ...

I am trying to setup a remote conda interpreter on MacOS Mojave PyCharm for Anaconda 2019.1.2 Pro, and can't get it to work. My existing remote conda environment (v4.5.12) is running on an Ubuntu 16 ...

I am trying to setup a remote conda interpreter on MacOS Mojave PyCharm for Anaconda 2019.1.2 Pro, and can't get it to work. My existing remote conda environment (v4.5.12) is running on an Ubuntu 16 ...