Installation

Dependencies

The current version has been integration tested using Python 3. We recommend to install the Anaconda as the Python environment.

Following Python modules are required for the Seispy, but do not have to be installed manually.

Install and update via PyPi

Installation

Run on command line:

pip install python-seispy

Upgrade to stable version

pip install python-seispy -U

Install and update from source code

Download the source codes

Clone the source code from Github to any directory.

git clone https://github.com/xumi1993/seispy.git

For Chinese users, try to clone the source code from Git service of Nanjing University

git clone https://git.nju.edu.cn/geophy/seispy.git

Install Seispy to the Python environment

Change path to where the source code was cloned into, and install the module via Python pip command

cd seispy
pip install .

Update Seispy

To update the Seispy, please change to directory of the source code, and execute following commands.

cd seispy
git pull
pip install .