Installation — gsw 3.6.21 documentation
If you have cloned the github repository, you can change directory to the cloned repo and install with pip:
The gsw package is available from the Python Package index:
Both of the methods above require building from the source code, so you will need an appropriate build environment.
For most people, we recommend using the miniconda Python distribution, and then installing a binary package from conda-forge:
conda install -c conda-forge gsw