Closed JiaweiZhuang closed 6 years ago
Bummer. This is related to https://github.com/NCPP/ocgis/issues/485. Netcdf4-python refactored its time library and required a version pin for the last ocgis release. It's causing a bit of version heck now. Here's a workaround until we get this cleared up:
conda install -c conda-forge cf_units cftime rtree shapely fiona pyproj gdal mpi4py
conda install -c conda-forge netcdf4=1.3.1 --no-deps
git clone https://github.com/NCPP/ocgis.git
cd ocgis && python setup.py install
I tested this under docker and the import worked. You may need to do a full re-install on an existing conda installation.
Thanks, this solves the problem!
I got this error when importing
ocgis
(which importsosgeo
)Reproducible steps with Docker:
Looks the same as conda-forge/rasterio-feedstock#49 and GenericMappingTools/gmt-python#104, but the fixes there do not work for me...