The current version has been integration tested using Python 3.

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

Install and update via Anaconda#

We recommend to install the Anaconda as the Python environment.

Installing seispy from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict


For Chinese users, we recommend to change the source of the conda-forge to 清华大学 Anaconda 镜像

Once the conda-forge channel has been enabled, seispy can be installed with:

conda install seispy -c conda-forge

Seispy can be updated with:

conda update seispy

Install and update via PyPi#

Recommended for normal users to install Seispy with a stable version

pip install python-seispy


  • We recommend Chinese users to use 清华大学 pypi 镜像 to install Seispy.

  • An error may be raised during installing Obspy via PyPi on Linux platform as following:

    ERROR: Could not build wheels for obspy which use PEP 517 and cannot be installed directly

    Please install Obspy via conda first.

    conda config --add channels conda-forge
    conda install obspy

Upgrading Seispy to the next stable version.

pip install python-seispy -U

Install and update from source code#


Clone the source code from Github to any directory.

git clone --depth=1

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

git clone

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 .