How to install gcc in virtualenv

Viewed 11841

Having problem getting gcc to install in a virtualenv. If I were using a conda virtualenv the command would be:

conda install gcc

But when I attempt in a regular virtualenv with:

pip3 install gcc

I get the following error:

Collecting gcc
Could not find a version that satisfies the requirement gcc (from versions: )
No matching distribution found for gcc

Pip was upgraded to 9.0.1 with:

 pip3 install --upgrade pip

Is there a pip3 install equivalent for conda install command? Thanks

1 Answers
Related