NCAR / pynio

PyNIO is a multi-format data I/O package with a NetCDF-style interface
http://www.pyngl.ucar.edu/Nio.shtml
Apache License 2.0
112 stars 37 forks source link

Alma Linux ModuleNotFoundError: No module named '_nio' #54

Open rpasken opened 1 year ago

rpasken commented 1 year ago

I have successfully built and installed pynio from the github repository for centos-7. I am migrating all my servers to AlmaLinux because of the change in how Centos is configured. When I try to install pynio from github I get several failures: 1) NCLnoPrintElem is multiply defined and 2) ModuleNotFoundError: No module named '_nio'

I have been able to fix the NCLnoPrintElem definitions in niomodule.c and NclMultiDValData.c which then allows all the library member to compile. Importing Nio from python3.9 gives ModuleNotFoundError: No module named '_nio'

I tried the suggestions in the mailing list but those were from 2012 and python2.7 and nothing changed