Installing dask-ml throws "Solving Environment" error - python

I'm getting the following errors when trying to install dask-ml with conda. Any ideas how to fix this?
(env3) C:\>conda install -c conda-forge dask-ml
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 versions
(env3) C:\>

The problem was that inadvertently installing pip upgraded python to version 3.9.1 from 3.8.5, reverting that solved the problem.

Related

Error: feature:|#/linux-64::__glibc==2.27=0 when installing with conda?

I set up a conda env like this:
conda create --name py36 -c conda-forge python=3.6
And then when I went to install OpenTargets, I get:
(py36) env_work:~$ conda install -c bioconda opentargets
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.27=0
- feature:|#/linux-64::__glibc==2.27=0
Your installed version is: 2.27
Could anyone explain why this would be the case? I also tried with python 3.8, and I checked the documentation which says it should work for python > 3.5?

Conda install error for multiple packages/Libraries I'm trying to install

(base) C:\Users\NameHere>conda install basemap
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 versions
When I do the same with Conda install geopandas, fiona, or other similar groups then it makes a list of about 40 errors after the 'Press CTRL-C to abort' and says it can't resolve them, after running for an hour and a half. The first section is the same in both cases.
I seriously just need either geopandas or basemap (preferred) to work with a version of spyder that allows user inputs. I've tried uninstalling and reinstalling Anaconda and miniconda, both do the same thing.

UnsatisfiableError: The following specifications were found to be incompatible with each other: <empty list>

While trying to install a custom package from a self-hosted repository, we get a weird error.
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 versions
... and that's it. One would expect a list of actual conflicts, but there is none.
We have checked the dependencies of the package in question manually, but they are all fulfilled.
We have installed another self-made package from this repository successfully. What can we do to get a sensible error message, to diagnose or to solve the problem?
Edit: When I first encountered this problem, the answer I gave below solved the problem. Now I'm having the problem again (same custom repository, different package) and the answer does not help.
What solved the issue was to re-order the channels into this order:
defaults
conda-forge
custom channel

OpenCV incompatibility issues

I'm trying to install the opencv package via conda install opencv and get the 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:
- opencv -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']
Your python: python=3.8
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.
How can I solve that issues so I can use the package?
All the best.
try:
conda update anaconda-navigator
conda update navigator-updater
conda install opencv-python

how to install pgmpy on anaconda 3 using the anaconda prompt

the following errors pop us while trying to install pgmpy
(base) C:\Users\pc> conda install -c ankurankan pgmpy
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\
Examining pgmpy: 50%|███████████████████████████████████████████████████████████████████████████████ | 1/2 [00:00<00:00, 4.40it/s]-failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Try this, it worked for me.
pip install pgmpy

Categories