libgcc-ng, libstdcxx-ng do exist in conda-forge. But they're for Linux only, not for macOS, Windows.

  • conda-forge/libgcc-ng
  • conda-forge/libstdcxx-ng

These two packages include libraries for gcc. For macOS, install gcc with homebrew. They are contained by the gcc package already.

brew install gcc
Answer from Simba on Stack Overflow
🌐
Anaconda.org
anaconda.org › anaconda › libgcc-ng
libgcc-ng - anaconda | Anaconda.org
Install libgcc-ng with Anaconda.org. The GCC low-level runtime library
🌐
Anaconda.org
anaconda.org › conda-forge › libgcc-ng
libgcc-ng - conda-forge | Anaconda.org
Install libgcc-ng with Anaconda.org. The GCC low-level runtime library
Discussions

python - PackagesNotFoundError: The following packages are not available from current channels (libgcc-ng and libstdcxx-ng) - Stack Overflow
I am trying to run the yml file but fail to solve the environment. The error is ResolvePackageNotFound: libgcc-ng libstdcxx-ng Then I tried conda installs conda install -c anaconda libgcc-ng conda More on stackoverflow.com
🌐 stackoverflow.com
pymol-open-source -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
Hi, I encounter an error while installing the Pymol with the following command: conda install -c tpeulen pymol-open-source More on github.com
🌐 github.com
1
January 27, 2022
python - Snakemake/miniforge: Nothing provides libgcc-ng >=12 needed by freebayes-1.3.6-hbfe0e7f_2 - Stack Overflow
Looking for: ['freebayes=1.3.6'] ... can be installed ... This does not work for me, and you can see from my question that I'm already not in strict mode. But your answer led me to this solution which does work for : yaml name: freebayes channels: - bioconda dependencies: - freebayes=1.3.6 - conda-forge::libgcc-ng I add the ... More on stackoverflow.com
🌐 stackoverflow.com
Installation Issue: MOOSE Installation Fails on Linux Ubuntu 22.04.3 as libgcc-ng >=12 does not exist
Installation Issue: MOOSE Installation Fails on Linux Ubuntu 22.04.3 as libgcc-ng >=12 does not exist More on github.com
🌐 github.com
1
1
🌐
Libraries.io
libraries.io › conda › libgcc-ng
libgcc-ng 15.2.0 on conda - Libraries.io - security & maintenance data for open source software
November 28, 2017 - conda install -c anaconda libgcc-ng · Dependencies · 2 · Dependent packages · 4.99K · Dependent repositories · 2.8K · Total releases · 28 · Latest release · Nov 10, 2025 · First release · Nov 28, 2017 · SourceRank · 18 · 15.2.0 ...
🌐
GitHub
github.com › conda-forge › conda-forge.github.io › issues › 763
Cannot install python=3.7 on Linux (libgcc-ng missing?) · Issue #763 · conda-forge/conda-forge.github.io
July 26, 2021 - $ 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.
Author   conda-forge
🌐
Prefix.dev
prefix.dev › channels › conda-forge › packages › libgcc-ng
libgcc-ng - conda-forge
pixi add libgcc-ng · conda install -c https://prefix.dev/conda-forge libgcc-ng · libgcc-ng package does not contain a description · Loading chart data... 15.2.0 · GPL-3.0-only · WITH GCC-exception-3.1 · linux-64 · linux-aarch64 · ...
🌐
Anaconda
anaconda.org › anaconda-org-build › libgcc-ng
libgcc-ng - anaconda-org-build | Anaconda.org
Install libgcc-ng with Anaconda.org. The GCC low-level runtime library
🌐
Anaconda
anaconda.org › jjhelmus › libgcc-ng
Libgcc Ng | Anaconda.org
To install this package run one of the following: conda install jjhelmus::libgcc-ngconda install jjhelmus/label/aarch64_bootstrap::libgcc-ngconda install jjhelmus/label/gcc49_toolchain::libgcc-ngconda install jjhelmus/label/gcc54_toolchain::libgcc-ngconda install jjhelmus/label/sles11_cuda...
Find elsewhere
🌐
Anaconda
anaconda.org › wakari › libgcc-ng
libgcc-ng - wakari | Anaconda.org
Install libgcc-ng with Anaconda.org. The GCC low-level runtime library
🌐
Readthedocs
k2.readthedocs.io › en › latest › installation › conda.html
Install using conda (Linux/macOS/Windows) — k2 1.7 documentation
$ conda create -n foo python=3.7 ... will be INSTALLED: _libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main ca-certificates pkgs/main/linux-64::ca-certificates-2021.4.13-h06a4308_1 certifi pkgs/main/linux-64::certifi-2020.12.5-py37h06a4308_0 ld_impl_linux-64 pkgs/main/linux-64::ld_imp...
🌐
Anaconda
anaconda.org › intel › libgcc-ng
Anaconda.org
Find and install packages from Anaconda.org.
🌐
GitHub
github.com › conda › conda-build › issues › 4371
pymol-open-source -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17'] · Issue #4371 · conda/conda-build
January 27, 2022 - pymol-open-source -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']#4371 · Copy link · Labels · locked[bot] locked due to inactivity[bot] locked due to inactivity · biotech70 · opened · on Jan 27, 2022 · Issue body actions · Hi, I encounter an error while installing the Pymol with the following command: conda install -c tpeulen pymol-open-source ·
Author   conda
🌐
GitHub
github.com › idaholab › moose › discussions › 26822
Installation Issue: MOOSE Installation Fails on Linux Ubuntu 22.04.3 as libgcc-ng >=12 does not exist · idaholab/moose · Discussion #26822
I have closely followed the installation instructions on the MOOSE website (https://mooseframework.inl.gov/getting_started/installation/conda.html), but I get the following error message when I execute the command conda create -n moose moose-dev=2024.01.23 in my terminal: Channels: - https://conda.software.inl.gov/public - defaults Platform: linux-64 Collecting package metadata (repodata.json): done Solving environment: failed LibMambaUnsatisfiableError: Encountered problems while solving: - nothing provides libgcc-ng >=12 needed by moose-wasp-2023.11.29-build_0 Could not solve for environment specs The following package could not be installed └─ moose-dev 2024.01.23** is not installable because it requires └─ moose-wasp 2023.11.29.* , which requires └─ libgcc-ng >=12 , which does not exist (perhaps a missing channel).
Author   idaholab
🌐
GNU
gcc.gnu.org › onlinedocs › gccint › Libgcc.html
Libgcc (GNU Compiler Collection (GCC) Internals)
GCC provides a low-level runtime library, libgcc.a or libgcc_s.so.1 on some platforms.
🌐
Anaconda Forum
forum.anaconda.com › getting started › how do i...?
Installation issue on Mac osx-64 (libgcc-ng) - How do I...? - Anaconda Forum
December 7, 2022 - Hi I have a package (Chipseq :: Anaconda.org) that requires perl, perl-math-round, grep and gawk to run. All requirements exist for linux-64 and osx-64 (in conda-forge and/or bioconda). Nevertheless the installation fails on osx-64: ResolvePackageNotFound: - libgcc-ng[version='>=11.2.0'] libgcc-ng is not available for osx-64 but I don’t know why the installation fails on osx-64 although all requirements are available for osx-64.
🌐
Anaconda.org
anaconda.org › anaconda › libgcc
libgcc - anaconda | Anaconda.org
anaconda/libgcc · Community · The GCC low-level runtime library · Overview · Files 7 · Labels 1 · Badges · Versions · 15.2.0 · To install this package, run one of the following: $conda install anaconda::libgcc · Monthly · Downloads Updates · Version · 15.2.0 ·
Top answer
1 of 1
1

If the point of the new env is to have geopandas in it, then let Conda know that right from the start and it can solve the dependencies upfront:

conda create -n gp python=2 geopandas

However, as @martinfleis points out, you may still have channel priority issues. Testing on a linux-64 platform, I was able to install geopandas=0.4.0 from anaconda channel alone, but to install geopandas=0.5.0 required both anaconda and conda-forge, and could be provided in either priority. In @martinfleis's testing, only giving conda-forge priority worked. Hence,

conda create -n gp -c conda-forge -c defaults --override-channels python=2 geopandas

would be the consensus command.


Note on Channel Priorities

It is possible to change channel priorities at the configuration level, as in @martinfleis's comment to OP, and in this case would make it so that the first command above works exactly like the second. However, one should only make such a change of it really coincides with your channel preferences - not to achieve a particular installation.

The alternative, as demonstrated in the second command above, is to temporarily specify channel priorities in a create or install command. In that command, -c conda-forge coming first gives it priority over -c defaults. The --override-channels flag disables whatever other channels you might have in permanent configuration settings.

Additionally, one can still specify individual packages to come from a particular channel by prefixing <channel>:: to the package name. For example, if in the second command, I still wanted to source Python from defaults, it would be defaults::python=2.

If you have more than a couple of exceptions that you want to specify, then it's probably time to consider installing from a YAML.

🌐
Readthedocs
mirge3.readthedocs.io › en › latest › faqs.html
Frequently asked questions (FAQ) — miRge3 0.0.1 documentation
Solution suggested by the user @asucrer, please follow the steps: conda create -n mirge # IMPORTANT to not specify the python version in this step source activate mirge conda install -c bioconda mirge3 # Every dependency (including python) is installed conda install -c bioconda tbb=2020.2 # Solves issue associated to Bowtie installation conda install -c bioconda openssl=1.0 # Solves issue associated to Samtools installation