Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install sourcespec via python pip




sourcespec - Earthquake source parameters from S-wave displacement spectra, it belongs to Classifiers:

- License :: OSI Approved :: CEA CNRS Inria Logiciel Libre License, version 2.1 (CeCILL-2.1)
- Topic :: Scientific/Engineering :: Physics

When you know about this project and you want to new install sourcespec to support your project or you get trouble as ModuleNotFoundError: No module named "sourcespec" or ImportError: cannot import name "sourcespec" in your project, let follow this tutorial to install sourcespec



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_sourcespec_env

- Active the virtual environment

test_sourcespec_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_sourcespec_env

- Active the virtual environment

source test_sourcespec_env/bin/active


Step 2: OK, now, let flow below content to start the installation sourcespec

To install sourcespec on Windows(CMD):

py -m pip install sourcespec

To install sourcespec on Unix/macOs:

pip install sourcespec


Step 3: If you want to install a specific sourcespec version, add ==<sourcespec version> to the end command line

Example:

pip install sourcespec==1.0


Please see the version list below table:

VersionReleased dateCommand
sourcespec 1.62022-08-02T16:50:59Windows:

py -m pip install sourcespec==1.6

Unix/macOs:

pip install sourcespec==1.6

sourcespec 1.52022-05-22T20:17:11Windows:

py -m pip install sourcespec==1.5

Unix/macOs:

pip install sourcespec==1.5

sourcespec 1.42021-10-13T14:47:32Windows:

py -m pip install sourcespec==1.4

Unix/macOs:

pip install sourcespec==1.4

sourcespec 1.3.12021-10-15T11:46:57Windows:

py -m pip install sourcespec==1.3.1

Unix/macOs:

pip install sourcespec==1.3.1

sourcespec 1.32021-08-20T13:29:45Windows:

py -m pip install sourcespec==1.3

Unix/macOs:

pip install sourcespec==1.3

sourcespec 1.22021-05-20T15:15:53Windows:

py -m pip install sourcespec==1.2

Unix/macOs:

pip install sourcespec==1.2

sourcespec 1.12021-04-07T10:48:49Windows:

py -m pip install sourcespec==1.1

Unix/macOs:

pip install sourcespec==1.1

sourcespec 1.02021-03-03T14:35:16Windows:

py -m pip install sourcespec==1.0

Unix/macOs:

pip install sourcespec==1.0


Step 4: Otherwise, you can install sourcespec from local archives:

Download the distribution file from sourcespec-1.6.tar.gz or the specific sourcespec version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_sourcespec_downloaded_file>

On Unix/macOs:

pip install <path_to_sourcespec_downloaded_file>


List distribution:


Project link:

- Documentation
- Homepage
- Source