Closed guopeng-jiang closed 1 year ago
import geopandas from geocube.api.core import make_geocube from geocube.vector import vectorize
ModuleNotFoundError Traceback (most recent call last) Cell In[88], line 4 1 import geopandas 3 from geocube.api.core import make_geocube ----> 4 from geocube.vector import vectorize
ModuleNotFoundError: No module named 'geocube.vector
geocube v0.3.3
GDAL deps: fiona: 1.8.22 GDAL[fiona]: 3.5.2 rasterio: 1.3.8.post2 GDAL[rasterio]: 3.6.4
Python deps: appdirs: 1.4.4 click: 8.1.7 geopandas: 0.13.2 odc_geo: 0.4.1 rioxarray: 0.13.4 pyproj: 3.5.0 xarray: 2023.1.0
System: python: 3.8.0 (default, Nov 6 2019, 16:00:02) [MSC v.1916 64 bit (AMD64)] executable: C:\Users\gji19\AppData\Local\anaconda3\envs\GDAL\python.exe machine: Windows-10-10.0.19041-SP0
Upgrade it to 0.4.2 seems to have fixed the problem.
Problem description
ModuleNotFoundError Traceback (most recent call last) Cell In[88], line 4 1 import geopandas 3 from geocube.api.core import make_geocube ----> 4 from geocube.vector import vectorize
ModuleNotFoundError: No module named 'geocube.vector
Environment Information
geocube v0.3.3
GDAL deps: fiona: 1.8.22 GDAL[fiona]: 3.5.2 rasterio: 1.3.8.post2 GDAL[rasterio]: 3.6.4
Python deps: appdirs: 1.4.4 click: 8.1.7 geopandas: 0.13.2 odc_geo: 0.4.1 rioxarray: 0.13.4 pyproj: 3.5.0 xarray: 2023.1.0
System: python: 3.8.0 (default, Nov 6 2019, 16:00:02) [MSC v.1916 64 bit (AMD64)] executable: C:\Users\gji19\AppData\Local\anaconda3\envs\GDAL\python.exe machine: Windows-10-10.0.19041-SP0