catalyst-cooperative / pudl

The Public Utility Data Liberation Project provides analysis-ready energy system data to climate advocates, researchers, policymakers, and journalists.
https://catalyst.coop/pudl
MIT License
456 stars 105 forks source link

pudl-dev - undocumented dependency on C compiler #1031

Open TrentonBush opened 3 years ago

TrentonBush commented 3 years ago

Describe the bug

I made a new VM that apparently didn't have gcc installed. When creating the pudl-dev conda environment, the pip install of bitarray broke and caused a build failure.

Bug Severity

How badly is this bug affecting you?

To Reproduce

uninstall gcc from your machine/environment

git clone git@github.com:catalyst-cooperative/pudl.git conda env create --name pudl-dev --file devtools/environment.yml

Expected behavior

expected a clean install of a new conda environment

Software Environment?

zaneselvans commented 3 years ago

Hmm, I've never had this issue, but I've probably never tried to install it on a machine without GCC. It seems like there must be some way to ensure that a platform specific version of GCC is installed locally through conda.