Skip to content

Instantly share code, notes, and snippets.

@abrocod
Forked from dacamo76/README.md
Created August 26, 2014 19:38
Show Gist options
  • Save abrocod/b0d05d5176c6c5e5e2f6 to your computer and use it in GitHub Desktop.
Save abrocod/b0d05d5176c6c5e5e2f6 to your computer and use it in GitHub Desktop.

To install scikit-learn easily run the following command.

curl https://gist.github.com/dacamo76/4780765/raw/36acfb10aba554a7738d2fea11d15a31dd8f3a0d/scikit-learn-install.sh | sh

Please look over the shell file being run to make sure no evil is done to your machine.

sudo yum -y install gcc-c++ python27-devel atlas-sse3-devel lapack-devel
wget https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.11.2.tar.gz
tar xzf virtualenv-1.11.2.tar.gz
python27 virtualenv-1.11.2/virtualenv.py sk-learn
. sk-learn/bin/activate
pip install numpy
pip install scipy
pip install scikit-learn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment