Skip to content

Installation on Linux via PyPI

megies edited this page Sep 13, 2012 · 3 revisions

First, install ObsPy's dependencies as described here.

Then, make sure the version of distribute is recent enough (the current developer version needs at least version 0.6.21):

easy_install -U distribute

To install ObsPy packages run the following commands (see here for a list of packages available from Python Package Index):

easy_install -N obspy.core
easy_install -N obspy.mseed
easy_install -N obspy.sac
easy_install -N obspy.gse2
easy_install -N obspy.imaging
...

Notes

  • Packages may be updated to a newer version using the -U option:
easy_install -N -U obspy.core
  • -N: Option will prevent easy_install to resolve the dependencies on its own (can be useful if dependencies are already installed and installing them via PyPI fails).
  • ==dev: The latest development version can be obtained by adding ==dev to the package name, e.g. easy_install -N obspy.sac==dev.

Clone this wiki locally