Cannot install python=3.7 on Linux (libgcc-ng missing?)
See original GitHub issueWhen 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:
- Created 4 years ago
- Comments:10 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I agree completely. I opened conda/conda#8675 to request this feature.
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.