- Intended Audience :: Education
When you know about this project and you want to new install pygmt to support your project or you get trouble as ModuleNotFoundError: No module named "pygmt" or ImportError: cannot import name "pygmt" in your project, let follow this tutorial to install pygmt
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 Windows (CMD):
- Install virtualenv - if you installed it, please ignore
py -m pip install --user virtualenv
- Create a virtual environment
py -m venv test_pygmt_env
- Active the virtual environment
test_pygmt_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_pygmt_env
- Active the virtual environment
source test_pygmt_env/bin/active
To install pygmt on Windows(CMD):
py -m pip install pygmt
To install pygmt on Unix/macOs:
pip install pygmt
Example:
pip install pygmt==0.0.1a0 pre-release
Please see the version list below table:
Version | Released date | Command |
---|---|---|
pygmt 0.7.0 | 2022-07-02T03:04:55 | Windows: Unix/macOs:
|
pygmt 0.6.1 | 2022-04-11T13:44:55 | Windows: Unix/macOs:
|
pygmt 0.6.0 | 2022-03-14T19:19:12 | Windows: Unix/macOs:
|
pygmt 0.5.0 | 2021-10-29T19:48:30 | Windows: Unix/macOs:
|
pygmt 0.4.1 | 2021-08-07T11:00:35 | Windows: Unix/macOs:
|
pygmt 0.4.0 | 2021-06-20T23:47:06 | Windows: Unix/macOs:
|
pygmt 0.3.1 | 2021-03-14T11:19:51 | Windows: Unix/macOs:
|
pygmt 0.3.0 | 2021-02-15T13:44:45 | Windows: Unix/macOs:
|
pygmt 0.2.1 | 2020-11-14T08:14:01 | Windows: Unix/macOs:
|
pygmt 0.2.0 | 2020-09-12T01:59:19 | Windows: Unix/macOs:
|
pygmt 0.1.2 | 2020-07-07T01:14:01 | Windows: Unix/macOs:
|
pygmt 0.1.1 | 2020-05-22T03:22:55 | Windows: Unix/macOs:
|
pygmt 0.1.0 | 2020-05-03T05:10:21 | Windows: Unix/macOs:
|
Download the distribution file from pygmt-0.7.0.tar.gz or the specific pygmt version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_pygmt_downloaded_file>
On Unix/macOs:
pip install <path_to_pygmt_downloaded_file>
List distribution:
Project link:
- Homepage