# From analysis3 26.07 onwards, xarray hits "Importerror" on compute nodes

**URL:** <https://forum.access-hive.org.au/t/from-analysis3-26-07-onwards-xarray-hits-importerror-on-compute-nodes/6973>\
**Category:** Infrastructure\
**Tags:** python, help\
**Created:** [8 September 2026 04:45 UTC](https://forum.access-hive.org.au/t/from-analysis3-26-07-onwards-xarray-hits-importerror-on-compute-nodes/6973 "2026-09-08T04:45:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashjbarnes](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/ashjbarnes/32/205_2.png) [@ashjbarnes](https://forum.access-hive.org.au/u/ashjbarnes)\
**Post date:** [8 September 2026 04:45 UTC](https://forum.access-hive.org.au/t/from-analysis3-26-07-onwards-xarray-hits-importerror-on-compute-nodes/6973/1 "2026-09-08T04:45:15Z")

</div>

From 26.07 onwards, a command like this:

```auto
import xarray
xarray.open_dataset("/g/data/gb02/ab8992/rom3-inputdirs/sots5km/hgrid.nc")

```

throws this error:

```auto
/g/data/xp65/public/apps/med_conda/envs/analysis3-26.08/lib/python3.12/site-packages/argopy/utils/lists.py:38: UserWarning: An error occurred while loading the ERDDAP data fetcher, it will not be available !
<class 'requests.exceptions.ConnectionError'>
HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /IrishMarineInstitute/awesome-erddap/master/erddaps.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x14644da53fe0>: Failed to establish a new connection: [Errno 101] Network is unreachable'))

```

when you’re running python on a compute node with no internet access. I’m not sure exactly what’s changed, but it seems like argopy is trying to fetch some kind of external data and this triggers every time you try to use xarray.

It’s annoying, but also causes a slowdown to your compute jobs since xarray doesn’t appear to start running until after it’s hit the max HTTP retries

I have no idea what the fix is but I’d suggest that the default behaviour of packages on analysis3 shouldn’t be to try fetch libraries from the internet

---

<div class="post-metadata">

**Author:** ![CharlesTurner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/charlesturner/32/2518_2.png) [@CharlesTurner](https://forum.access-hive.org.au/u/CharlesTurner)\
**Post date:** [8 September 2026 05:17 UTC](https://forum.access-hive.org.au/t/from-analysis3-26-07-onwards-xarray-hits-importerror-on-compute-nodes/6973/2 "2026-09-08T05:17:58Z")

</div>

I’d seen this a few times and thought it was just an irritation rather than causing a meaningful delay.

Shouldn’t be too hard to chop this behaviour out of the environment, hopefully be sorted later today

---

<div class="post-metadata">

**Author:** ![CharlesTurner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/charlesturner/32/2518_2.png) [@CharlesTurner](https://forum.access-hive.org.au/u/CharlesTurner)\
**Post date:** [10 September 2026 06:29 UTC](https://forum.access-hive.org.au/t/from-analysis3-26-07-onwards-xarray-hits-importerror-on-compute-nodes/6973/3 "2026-09-10T06:29:16Z")

</div>

This turns out to be an import time side effect in the `argopy` package.

~~I’m in the process of submitting a fix there, so this might take (quite) a bit longer than expected.~~

Fix is in, we just need to clear up a xarray version pin and then get a new minor release of `argopy` out.
