Skip to content

Instantly share code, notes, and snippets.

@yngtodd
Last active July 7, 2021 23:13
Show Gist options
  • Save yngtodd/dcb208168e43ec87b7ed0bffbcc1be95 to your computer and use it in GitHub Desktop.
Save yngtodd/dcb208168e43ec87b7ed0bffbcc1be95 to your computer and use it in GitHub Desktop.
Installing Auto-Sklearn and Pyrfr on Mac OSX.
# Create a conda environment
conda create -n bayes
source activate bayes
# Get a new version of gcc from anaconda
conda install gcc
# Get Auto-Sklearn and the terribly stubborn pyrfr libraries
curl https://raw.githubusercontent.com/automl/auto-sklearn/master/requirements.txt | xargs -n 1 -L 1 pip install
# Make sure you point to your conda gcc install. Check using
which gcc
# Note where my conda gcc lives
CC=/Users/youngtodd/anaconda3/envs/bayes/bin/gcc pip install pyrfr auto-sklearn --no-cache-dir
@leven101
Copy link

This worked! Thanks yngtodd

@austinmw
Copy link

which gcc version?

@garganushka51
Copy link

Thanks!! It worked +1:

@simonprovost
Copy link

simonprovost commented Jul 7, 2021

condo install gcc : For those who are having difficulty with this command:

https://anaconda.org/conda-forge/gcc

Unfortunately, the solution did not work on my macOS Big Sur latest stable version. I have created a new gist file to assist more people in need:

https://gist.github.com/simonprovost/051952533680026b67fa58c3552b8a7b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment