Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
This is the [lunch lecture|http://www.lr.tudelft.nl/nl/actueel/agenda/event/detail/python-lunch-lecture/] that I gave at the [L&R faculty

...

One of the questions that came up was what the preferred way is to install python on OSX. This was related to some recent problems that people had with the latest version of OSX. Some of the issues that you can run into while installing extra packages are a missing png library issue and missing compilers .

Some of the options you have under OSX are, in my personal order of preference:

You probably don't want to use the python version that comes preinstalled with OSX. Using one of the other options keeps your python environment separate from your system environment and you'll have a more recent python version.

...

|http://www.lr.tudelft.nl/]. 

One of the questions that came up was what the preferred way is to install python on OSX. This was related to some recent problems that people had with the latest version of OSX. Some of the issues that you can run into while installing extra packages are a [missing png library issue|http://stackoverflow.com/questions/6800488/installing-matplotlib-in-mac-osx-lion] and [missing compilers|http://stackoverflow.com/questions/12221468/installing-matplotib-on-mac-osx-mountain-lion] . 

Some of the options you have under OSX are, in my personal order of preference:
- [Install macports|http://www.macports.org/install.php]. Then  install matplotlib *sudo port install py27-matplotlib*. 
- [Install homebrew|http://mxcl.github.io/homebrew/]. Then [install python|http://www.thisisthegreenroom.com/2011/installing-python-numpy-scipy-matplotlib-and-ipython-on-lion/], then matplotlib using pip *pip install matplotlib*.
- Get the [enthought python distribution|https://www.enthought.com/downloads/] (now called Canopy).
- Get the [continuum distribution|http://continuum.io/downloads.html].

You probably don't want to use the python version that comes preinstalled with OSX. Using one of the other options keeps your python environment separate from your system environment and you'll have a more recent python version. 

You can also use [virtualenv |http://www.virtualenv.org/en/latest/]to use multiple different python environments. 

{view:present.pdf}