access_JEDIAtNCI_NetCDF4BuildProblem - ACCESS-NRI/accessdev-Trac-archive GitHub Wiki
Andy Smith found a problem when he tried to use pyjedi and with Python modules. His description of the problem,
[12:11] Andy Smith
Hi Jin, just noticed a problem with jedi-stack python...
File "/projects/access/da/jedi/jedi-stack/pyjedi/lib/python3.7/site-packages/netCDF4/__init__.py", line 3, in <module>
from ._netCDF4 import *
ImportError: No module named _netCDF4
[12:13] Andy Smith
The 'module' (actually a library) it's looking for is actually called this in the directory
_netCDF4.cpython-37m-x86_64-linux-gnu.so
Edited:
There are several other instances of this in the python directories where the compiler name is included in the object file. There should be soft links set up so that the python can pick them up e.g., _netCDF4.so -> _netCDF4.cpython-37m-x86_64-linux-gnu.so