Open eculler opened 2 years ago
Looks like a known issue: https://github.com/SciTools/cartopy/issues/1490 We'll need a "pip install --no-binary shapely shapely --force" at the start
Also !apt-get install -qq libgdal-dev libproj-dev
This works on my version:
# Cartopy needs some other libraries
!apt-get install -qq libgdal-dev libproj-dev
!pip install --no-binary shapely shapely --force
!pip install cartopy
This cell:
Crashes Colab "for an unknown reason". The runtime logs say:
python3: geos_ts_c.cpp:3991: int GEOSCoordSeq_getSize_r(GEOSContextHandle_t, const geos::geom::CoordinateSequence, unsigned int): Assertion `0 != cs' failed.
The following lines reproduce the crash when included: