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.

Installation fails with UnsatisfiableError

See original GitHub issue

Installation of bayeslite fails with the following error:

(py2) user@kubuntu:~$ python
Python 2.7.17 |Anaconda, Inc.| (default, Oct 21 2019, 19:04:46) 
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 
(py2) user@kubuntu:~$ conda install -c probcomp bayeslite
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 CUDA driver:

  - feature:/linux-64::__cuda==10.2=0
  - feature:|@/linux-64::__cuda==10.2=0

Your installed CUDA driver is: 10.2


(py2) user@kubuntu:~$ 

I have CUDA 10.2.89 installed

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
suhailshergillcommented, Apr 16, 2020

@fsaad thanks for pointing me to those docs. Encountered failure at the second step. Looks like I need to enable some different channels (e.g. we need seaborn=0.7 and current channels don’t list anything earlier than 0.8)

(bayesdb) user@kubuntu:~/probcomp$ conda install --yes conda=4.6.14 conda-build
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.7.12
  latest version: 4.8.3

Please update conda by running

    $ conda update -n base -c defaults conda



# All requested packages already installed.

(bayesdb) user@kubuntu:~/probcomp$ conda create -n probcomp --yes --file ./conda_python2.txt python=2.7
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - ipywidgets=6.0
  - vincent=0.4
  - pytest=2.8
  - seaborn=0.7
  - scikit-learn=0.17
  - cython=0.25
  - sympy=1.0
  - cloudpickle=0.2
  - beautifulsoup4=4.5
  - pandas=0.18
  - scikit-image=0.12
  - matplotlib=1.5
  - numba=0.31
  - scipy=0.17
  - ipython=5.3
  - statsmodels=0.6

Current channels:

  - https://repo.anaconda.com/pkgs/main/linux-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/linux-64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.


(bayesdb) user@kubuntu:~/probcomp$ 
0reactions
suhailshergillcommented, Apr 19, 2020

@fsaad made some more progress. So it seems the problematic packages (i.e., the packages that conda has a difficult time with) are bayeslite and loom. The others I was able to install via conda in a very straightforward manner (after including the extra channels you pointed to).

After that, I was able to install bayeslite by building from source via setup.py. I suspect a similar process might work for loom as well.

I am new to conda, but it seems the dependency tracking for bayeslite conda package is messed up. Hope this helps.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I resolve the error "UnsatisfiableError" when using ...
When using the Anaconda installation process conda install gurobi to install Gurobi, you may receive an error such as: UnsatisfiableError: ...
Read more >
conda install python=3.6 UnsatisfiableError - Stack Overflow
2 installed via Anaconda Continuum. I'm trying to upgrade to Python 3.6 but I'm getting the below error when I try to run...
Read more >
"UnsatisfiableError" during installation · Issue #22 - GitHub
Hello! I encountered several errors while installing. Please, help to solve it. Steps to reproduce: With manual installation: Install Anaconda 3 ...
Read more >
Using older notebook on latest Anaconda Navigator ...
I installed anaconda navigator from the executable downloaded file from their website. But when i run conda install tensorflow it fails with a ......
Read more >
How to fix UnsatisfiableError when installing mamba?
After running conda install -yq mamba I get the following error: Collecting package metadata (current_repodata.json): ...working... …
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