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.

Cannot install python=3.7 on Linux (libgcc-ng missing?)

See original GitHub issue

When I try to create a new environment using python 3.7, I get the following error:

$ conda create -n test python=3.7
Collecting package metadata: done
Solving environment: failed

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

  - python=3.7 -> libgcc-ng[version='>=7.3.0']
  - python=3.7 -> libstdcxx-ng[version='>=7.3.0']
  - python=3.7 -> openssl[version='>=1.1.1a,<1.1.2a']
  - python=3.7 -> sqlite[version='>=3.26.0,<4.0a0']
  - python=3.7 -> tk[version='>=8.6.9,<8.7.0a0']
  - python=3.7 -> xz[version='>=5.2.4,<5.3.0a0']

Current channels:

  - https://conda.anaconda.org/conda-canary/linux-64
  - https://conda.anaconda.org/conda-canary/noarch
  - https://conda.anaconda.org/conda-forge/linux-64
  - https://conda.anaconda.org/conda-forge/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.

Manually digging into this, it looks like libgcc-ng and libstdcxx-ng are both missing from the repodata.json file. When I run conda create -n test sqlite, this installs sqlite 3.22.0, which seems to be the lates tversion of sqlite on conda-forge without an explicit dependency on libgcc-ng, so it looks like a missing libgcc-ng might be the problem?

I am running Ubuntu 18.04 on conda 4.6.10.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
jjhelmuscommented, May 16, 2019

It does not but this would be a nice feature to have

I agree completely. I opened conda/conda#8675 to request this feature.

2reactions
ocefpafcommented, Apr 4, 2019

@ocefpaf, I think this needs to make its way into the documentation or be more prominent if it’s already there. This also came up on gitter and I think it caught a lot of us by surprise.

Indeed. We are discussing better ways to communicate this now but for this case I need to put some docs on strict and maybe create a blog post.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Package Python3.7 is not available - Stack Overflow
I tried doing the below steps in an official docker image of Kali Linux. It should work on the desktop as well.
Read more >
Unable to install pyhton 3.7 version on ubuntu 16.04 error ...
I have installed python 3 through this command. sudo apt-get install python3. and when checked the version using python3 -V.
Read more >
How do you install python3.7 to ubuntu 20.04?
For newer Python I prefer the deadsnake ppa. For installing it, try this: sudo apt update sudo apt install software-properties-common sudo ...
Read more >
Unable to import Psi4 in python
Hi, I installed psi4 through conda in linux system and the files, the specific module I wanna import is psi4_wrapper, were saved under ......
Read more >
Install Python, pip, and the EB CLI on Linux
On Debian derivatives, such as Ubuntu, use APT . $ sudo apt-get install python3.7 · On Red Hat and derivatives, use yum ....
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