I am trying to work with the "oceansdb" package, and as a dependency it requires netCDF4. When I try to run anything related to oceansdb, I get an error:
File "C:/Users/Documents/starter.py", line 12, in <module>
import oceansdb
File "C:\Users\Anaconda3-64bit\lib\site-packages\oceansdb\__init__.py", line 8, in <module>
from oceansdb.woa import WOA
File "C:\Users\Anaconda3-64bit\lib\site-packages\oceansdb\woa.py", line 12, in <module>
import netCDF4
File "C:\Users\Anaconda3-64bit\lib\site-packages\netCDF4\__init__.py", line 3, in <module>
from ._netCDF4 import *
File "include\membuf.pyx", line 16, in init netCDF4._netCDF4
AttributeError: type object 'netCDF4._netCDF4._MemBuf' has no attribute '__reduce_cython__'
I have tried uninstalling and reinstalling netCDF4, then upgrading my cython version and doing the same uninstall/reinstall, both to no avail. I also tried uninstalling and reinstalling oceansdb. Everything has yielded the same error and I can't seem to find anyone else with the same issue.