Skip to content

Instantly share code, notes, and snippets.

@skryv
Created January 28, 2013 07:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skryv/4653599 to your computer and use it in GitHub Desktop.
Save skryv/4653599 to your computer and use it in GitHub Desktop.
Parameters required for skikit-learn installation
echo "-----> Installing via pip, but setting environment vars first."
export BLAS=$(pwd)/vendor/lib/atlas-base/atlas/libblas.a
export LAPACK=$(pwd)/vendor/lib/atlas-base/atlas/liblapack.a
export ATLAS=$(pwd)/vendor/lib/atlas-base/libatlas.a
export LIBRARY_PATH=$(pwd)/vendor/lib:$(pwd)/lib/atlas-base:$(pwd)/lib/atlas-base/atlas
export LD_LIBRARY_PATH=$(pwd)/vendor/lib:$(pwd)/vendor/lib/atlas-base:$(pwd)/vendor/lib/atlas-base/atlas
pip install --use-mirrors scikit-learn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment