Closed MathewBiddle closed 5 years ago
This is actually two completely different problems. I ran into both of them today, trying for a clean, fresh build.
The nf-config thing for me is coming from the netcdf that came in when Anaconda installed ESMF. I got around it by pointing to an older nf-config that still works.
The "import _iso" line needs to be "from . import _iso". I'll push a fix for these things tomorrow. It's some change due to a Python update.
Thanks! Any thoughts on adding this to conda-forge for easier conda install?
I was having the same trouble with import _interp
and import _remapping
. I tried adjusting them to from . import _interp
and from . import _remapping
, but that was unsuccessful.
Commenting those import statements out lets me import pyroms
without error... Obviously those functions wont work when I try to use them, but at least I can import pyroms.
Some of them need to be "from pyroms import _remapping". I just pushed my updates - see if that works for you.
I tried changing from numpy.distutils to setuputils and it failed because the latter doesn't understand Fortran. I think it would take me a lot of flailing to get this onto conda-forge. It's just not my current priority - better to start trying out xarray.
After following the instructions and having successful build and installs for pyroms_toolbox and bathy_smoother I get the following error at the end of install_pyroms.sh:
It looks like nf-config is causing problems? https://github.com/Unidata/netcdf-fortran/issues/60
When I open python and import pyroms I get the following ModuleNotFoundError:
I assume they are connected?