Request for guidance in relation to download "obspy" module(s) for linux [SEC=UNCLASSIFIED]

Dear All,

I am very new to this “obspy” and finding it difficult to download required modules to for “obspy”. Your help will be highly appreciated in this regard.

Regards,

Rifat Mohsin

Australian Tsunami Warning System

Geospatial & Earth Monitoring Div.

Geoscience Australia

Cnr Jerrabomberra Avenue and Hindmarsh Drive Symonston

GPO Box 378 Canberra ACT 2601 Australia

Phone: +61 2 6249 9233

Fax: +61 2 6249 9984

image001.jpg

Dear Rifat,

did you read the installation sections for Linux
Home · obspy/obspy Wiki · GitHub on our homepage? For Debian
and Ubuntu this should be straight forward as there are packages provided.

Cheers,
Robert

Dear All,

I am very new to this ?obspy? and finding it difficult to download
required modules to for ?obspy?. Your help will be highly
appreciated in this regard.

Regards,

Rifat Mohsin

Australian Tsunami Warning System

Geospatial & Earth Monitoring Div.

Geoscience Australia

Cnr Jerrabomberra Avenueand Hindmarsh DriveSymonston

GPO Box 378 CanberraACT 2601 Australia

Phone: +61 2 6249 9233

Fax: +61 2 6249 9984

_______________________________________________ obspy-users mailing
list obspy-users@lists.sevor.de
ObsPy Forum

- --
Dr. Robert Barsch

Ludwig-Maximilians-Universität München
Department of Earth and Environmental Sciences, Geophysics
Theresienstr. 41/IV
D-80333 Munich
Germany

Tel: +49 (0) 89 2180 4201
Fax: +49 (0) 89 2180 9942010
Mail: barsch@geophysik.uni-muenchen.de

Hi everybody,

I am a new user of obspy, I could install it my laptop which has Ubuntu 9.04 following your instructions, for my personal computer I have root permit, then I have not problems about instalation.

However I would like to install in my computer’s office as a user in my home directory without root permit, Do you have a tar file of the package?

Thanks for your help

–juan

Hi Juan,

non-root installations are always a bit more troublesome - but doable
with a little effort. However you will need at least the basic build
tools (gcc, make, etc.) on your system. There are different approaches
depending what your current system already offers, so either

(1) if there is Python (>=2.5.x and <3.x) already installed, you could
reuse the system-wide python by creating a virtual environment - see
Home · obspy/obspy Wiki · GitHub for creating such

Once you have your own virtual environment you can than use the
"easy_install" script to fetch missing packages.

Next check which dependencies are already installed via

dpkg --get-selections | grep python

Ideally you should have the following packages installed

python-setuptools
python-dev
python-lxml
python-numpy
python-scipy
python-matplotlib

If not you need to install them locally by following the instructions
at Home · obspy/obspy Wiki · GitHub

Ofc, skip the Python installation and any dependencies which is
already installed system wide. Also be sure to actually be within an
initialized virtual environment - "which python" should point to your
local python directory

(2) Install everything from source without a virtual environment.
Essentially follow Home · obspy/obspy Wiki · GitHub.

Note: Sources for ObsPy can be either checked out from trunk via
subversion (Home · obspy/obspy Wiki · GitHub) or downloaded from the
Python Package Index
(Client Challenge). But if you
follow the instructions above you don't need to download them manually
as this is done with the easy_install script.

Hope it helps,
Robert

Hi everybody,

I am a new user of obspy, I could install it my laptop which has
Ubuntu 9.04 following your instructions, for my personal computer I
have root permit, then I have not problems about instalation.

However I would like to install in my computer's office as a user
in my home directory without root permit, Do you have a tar file
of the package?

Thanks for your help

--juan

- --
Dr. Robert Barsch

Ludwig-Maximilians-Universität München
Department of Earth and Environmental Sciences, Geophysics
Theresienstr. 41/IV
D-80333 Munich
Germany

Tel: +49 (0) 89 2180 4201
Fax: +49 (0) 89 2180 9942010
Mail: barsch@geophysik.uni-muenchen.de

Hi Robert,

Thanks for your answer.

Right, I followed the first method to install Obspy, it worked
without complains. For your records the linux distribution I am working
in is debian-lenny kernel 2.6.26-2-amd64.

Many thanks for your help.

–juan