Closed JonathanGregory closed 1 month ago
Hi Jonathan - try downgrading netCDF4 to 1.6.5
(I'm on leave today, so that's all you'll get from me till next week :))
Thanks for the suggestion, @davidhassell. I have fixed it. I discovered that I had /home/users/sws02jmg/.local/lib/python3.9/site-packages
in $PYTHONPATH
instead of /home/users/sws02jmg/.local/lib/python3.11/site-packages
. That also explains why the report from pip list
did not make sense.
This is very likely not a bug in cf-python but a problem with my software environment, which I don't understand. I can't import cf-python at the moment:
To see if I have the right packages, I did
pip install -U cf-python
, which concludedSuccessfully installed cf-python-3.16.2 cfunits-3.3.7 netCDF4-1.7.1.post1
.On the other hand,
pip list
reports that it has cf-python 3.16.1 and netCDF4 1.6.4. I don't understand how these can be different, or whether it's relevant.This is on RACC, as you might guess. Any advice most welcome. Thanks.