Skip to content

Instantly share code, notes, and snippets.

@lightscalar
Last active August 29, 2015 14:11
Show Gist options
  • Save lightscalar/7df7b9764625d0f96dec to your computer and use it in GitHub Desktop.
Save lightscalar/7df7b9764625d0f96dec to your computer and use it in GitHub Desktop.
Getting set up with python on a new Mac (using MacPorts)

Install the usual scientific packages like so:

sudo port install py27-numpy py27-scipy py27-matplotlib py27-ipython +notebook py27-pandas py27-sympy py27-nose

Now ensure that the relevant versions are active:

sudo port select --set python python27
sudo port select --set ipython ipython27

Next install pip and select it as active:

port install py27-pip
port select --set pip pip27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment