Installation via Anaconda for MESS
Clone this wiki locally
Installation of Anaconda Python/ObsPy for MESS
Please go to http://continuum.io/downloads, download and run the Anaconda installer for Python 2.7:
Note: On Mac/Linux, at the end of installation please confirm
"yes" when asked if Anaconda Python should be prepended to your
PATH environment variable.
To install ObsPy you currently need a C and a Fortran compiler (does not apply on Windows*). A C compiler should already be available or, in the case of OSX, is a requirement for the package managers. On Linux use the package management system of your distribution, on OS X best use Homebrew or MacPorts. The package name is potentially
# Debian and Ubuntu (derivates) $ sudo apt-get install gfortran # CentOS/RedHat/Fedora $ sudo yum install gcc-gfortran # (Open)SUSE $ sudo zypper install gcc-fortran # OSX with Homebrew $ brew install gcc
*Anaconda for Windows ships with C and Fortran compilers, however compiling on a 64bit Windows may require a small patch by changing line no. 331 in
pass #raise NotImplementedError("Only MS compiler supported with gfortran on win64").
These two packages are missing from the default Anaconda distribution.
flake8 is needed for running the tests and
basemap is an optional dependency for plotting data on maps.
$ conda install flake8 basemap
After successful installation of the Anaconda Python Environment please install ObsPy:
Anaconda Command Prompt..
Mac/Linux: Open a terminal..
Then type the following command:
After successful installation you should be able to start the IPython Notebook (from inside the Anaconda Command Prompt or Terminal)..
The IPython Notebook should open in a new browser window or tab:
"New Notebook", type in the following commands and run the command cell (either click on arrow symbol or type CTRL-Enter).