# Gibbs Sea Water module missing?

**URL:** <https://discourse.pangeo.io/t/gibbs-sea-water-module-missing/739>\
**Category:** Pangeo Cloud Support\
**Created:** [July 15, 2020, 12:52pm UTC](https://discourse.pangeo.io/t/gibbs-sea-water-module-missing/739 "2020-07-15T12:52:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndMei](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@AndMei](https://discourse.pangeo.io/u/AndMei)\
**Post date:** [July 15, 2020, 12:52pm UTC](https://discourse.pangeo.io/t/gibbs-sea-water-module-missing/739/1 "2020-07-15T12:52:42Z")

</div>

Hi folks,

Since the migration the GSW module seems to have gone missing, and import gsw now throws a ModuleNotFoundError

!pip install gsw also produces new and exciting error codes:

```
  gcc -pthread -B /srv/conda/envs/notebook/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/srv/conda/envs/notebook/lib/python3.7/site-packages/numpy/core/include -I/tmp/pip-install-gki2sp6x/gsw/src/c_gsw -I/srv/conda/envs/notebook/include/python3.7m -c src/_ufuncs.c -o build/temp.linux-x86_64-3.7/src/_ufuncs.o

```

## unable to execute ‘gcc’: No such file or directory error: command ‘gcc’ failed with exit status 1

ERROR: Failed building wheel for gsw

Any ideas where our teos10 goodness has gone?

---

<div class="post-metadata">

**Author:** ![rabernat](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/rabernat/32/22_2.png) [@rabernat](https://discourse.pangeo.io/u/rabernat)\
**Post date:** [July 15, 2020, 12:58pm UTC](https://discourse.pangeo.io/t/gibbs-sea-water-module-missing/739/2 "2020-07-15T12:58:58Z")

</div>

Thanks for reporting this. It should be there! It is in the environment file:

> <https://github.com/pangeo-data/pangeo-docker-images/blob/9b49755dc3b53768a5c3cfc06b7d086a39a599f4/pangeo-notebook/environment.yml#L21>

We will look into it.

---

<div class="post-metadata">

**Author:** ![rabernat](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/rabernat/32/22_2.png) [@rabernat](https://discourse.pangeo.io/u/rabernat)\
**Post date:** [July 15, 2020, 11:56pm UTC](https://discourse.pangeo.io/t/gibbs-sea-water-module-missing/739/3 "2020-07-15T23:56:38Z")

</div>

Until we get this resolved, you could try fastjmd95:

> **[xgcm/fastjmd95](https://github.com/xgcm/fastjmd95)**
>
> Numba implementation of Jackett & McDougall (1995) ocean equation of state - xgcm/fastjmd95

---

<div class="post-metadata">

**Author:** ![AndMei](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@AndMei](https://discourse.pangeo.io/u/AndMei)\
**Post date:** [July 16, 2020, 8:28am UTC](https://discourse.pangeo.io/t/gibbs-sea-water-module-missing/739/4 "2020-07-16T08:28:30Z")

</div>

The CSIRO seawater library (!pip install seawater) also works for those who are encountering similar issues. Not TEOS10 but for model data it hardly matters and does give you access to more functions than just insitu density. Cheers for working on GSW!

---

<div class="post-metadata">

**Author:** ![rabernat](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/rabernat/32/22_2.png) [@rabernat](https://discourse.pangeo.io/u/rabernat)\
**Post date:** [July 16, 2020, 11:58am UTC](https://discourse.pangeo.io/t/gibbs-sea-water-module-missing/739/5 "2020-07-16T11:58:48Z")

</div>

You can also install gsw with conda no problem

```auto
conda install -c conda-forge gsw

```
