Skip to content

Instantly share code, notes, and snippets.

@igable
Last active August 29, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igable/4b559874bbae0f66d8c5 to your computer and use it in GitHub Desktop.
Save igable/4b559874bbae0f66d8c5 to your computer and use it in GitHub Desktop.
Instructions for installing scipy on OSX Yosemite using python Virtual Environment

Install homebrew:

xcode-select --install
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install python 2.7 from homebrew:

brew install python
brew install gcc
brew install wget

Use pip to install virtual env:

pip install virtualenv

Create a work directory and install scipy to it this keeps you scipy and dependencies seperate from the system:

mkdir scipy
virtualenv scipy

Activate your virtual environment and install scipy and tools:

cd scipy
source bin/activate
pip install matplotlib
pip install scipy
pip install h5py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment