question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Conda installation fails

See original GitHub issue

Conda installation fails silently with no error.

Installation command:

conda install -c bioconda scanpy

Output:

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

Increasing the verbosity did not help. Using older python version did not helpeither… It looks like the metadata are not correct but I am not able to validate this. I tried miniconda anaconda clean installs and I had no luck whatsoever.

Pip install works fine.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
michalk8commented, Jul 5, 2020

@pati-ni I have the similar issue when installing CellRank as conda install -c bioconda cellrank. Problem is not all dependencies are on bioconda, some of them are on conda-forge - I’ve tested it and I have the same problem with scanpy. Installing it as conda install -c bioconda -c conda-forge scanpy works. But @ivirshup is right, seems like conda issue.

1reaction
pati-nicommented, Jul 22, 2020

I can confirm this as a working workaround. Thank you @michalk8

@pati-ni I have the similar issue when installing CellRank as conda install -c bioconda cellrank. Problem is not all dependencies are on bioconda, some of them are on conda-forge - I’ve tested it and I have the same problem with scanpy. Installing it as conda install -c bioconda -c conda-forge scanpy works. But @ivirshup is right, seems like conda issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting — conda 22.11.1.post16+ce4e810c9 ...
Occasionally, an installed package becomes corrupted. Conda works by unpacking the packages in the pkgs directory and then hard-linking them to the environment....
Read more >
can't install anything using conda, it hangs in solving ... - GitHub
Hello,. I don't seem to be able to install anything using conda. It hangs in "solving environment". I tried: conda install -c anaconda...
Read more >
Troubleshooting — Anaconda documentation
403 error; HTTP 000 CONNECTION FAILED; Anaconda installer download ... If the package downloads are interrupted, just run conda install anaconda again.
Read more >
anaconda - Conda install local package fails - Stack Overflow
Conda install local package fails · I would try using and absolute file name and see whether that helps. See docs.anaconda.com/anaconda/user- ...
Read more >
Common Conda Issues | MUSA 550
In this guide, we describe some of the most common issues encountered during local installation of Python packages, as well as the troubleshooting...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found