Amat
Amat

Reputation: 401

Unable to install GCC using anaconda

This is output of the command conda install gcc:

    Solving environment: failed

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

  - gcc-6

Upvotes: 29

Views: 54407

Answers (2)

Doug Blank
Doug Blank

Reputation: 2289

I had to install two conda packages to fix this issue:

$ conda install gcc_linux-64
$ conda install gxx_linux-64

Upvotes: 11

dsfbmmg
dsfbmmg

Reputation: 916

I'm not sure how exactly the packages relate, but I needed to install the gcc package to resolve some sort of load error. Given that gcc didn't produce any results, I ran a quick

$ conda search gcc

Which yielded, among other things, gcc_linux-64. After

$ conda install gcc_linux-64

My issue went away, despite the fact that which gcc still pointed to the system install 🤷‍♂️

Upvotes: 12

Related Questions