-
Notifications
You must be signed in to change notification settings - Fork 389
Closed
Milestone
Description
Description
The pre-release version of shapely v2 is out & that seems to break cartopy.
Code to reproduce
Install shapely v2 & cartopy and try to import cartopy:
mamba create -n cartopy_shapely_v2 -c conda-forge/label/shapely_dev shapely cartopy
mamba activate cartopy_shapely_v2
python -c "import cartopy"
Traceback
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/mathause/.conda/envs/cartopy_shapely_v2/lib/python3.10/site-packages/cartopy/__init__.py", line 107, in <module>
import cartopy.crs
File "/home/mathause/.conda/envs/cartopy_shapely_v2/lib/python3.10/site-packages/cartopy/crs.py", line 27, in <module>
import cartopy.trace
File "lib/cartopy/trace.pyx", line 77, in init cartopy.trace
ImportError: cannot import name lgeos
Full environment definition
Operating system
linux
Cartopy version
cartopy 0.20.3
conda list
_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 2_gnu conda-forge
brotli 1.0.9 h166bdaf_7 conda-forge
brotli-bin 1.0.9 h166bdaf_7 conda-forge
bzip2 1.0.8 h7f98852_4 conda-forge
c-ares 1.18.1 h7f98852_0 conda-forge
ca-certificates 2022.6.15 ha878542_0 conda-forge
cartopy 0.20.3 py310he7eef42_2 conda-forge
certifi 2022.6.15 pyhd8ed1ab_1 conda-forge
cycler 0.11.0 pyhd8ed1ab_0 conda-forge
fonttools 4.37.1 py310h5764c6d_0 conda-forge
freetype 2.12.1 hca18f0e_0 conda-forge
geos 3.11.0 h27087fc_0 conda-forge
jpeg 9e h166bdaf_2 conda-forge
keyutils 1.6.1 h166bdaf_0 conda-forge
kiwisolver 1.4.4 py310hbf28c38_0 conda-forge
krb5 1.19.3 h08a2579_0 conda-forge
lcms2 2.12 hddcbb42_0 conda-forge
ld_impl_linux-64 2.36.1 hea4e1c9_2 conda-forge
lerc 4.0.0 h27087fc_0 conda-forge
libblas 3.9.0 16_linux64_openblas conda-forge
libbrotlicommon 1.0.9 h166bdaf_7 conda-forge
libbrotlidec 1.0.9 h166bdaf_7 conda-forge
libbrotlienc 1.0.9 h166bdaf_7 conda-forge
libcblas 3.9.0 16_linux64_openblas conda-forge
libcurl 7.83.1 h2283fc2_0 conda-forge
libdeflate 1.13 h166bdaf_0 conda-forge
libedit 3.1.20191231 he28a2e2_2 conda-forge
libev 4.33 h516909a_1 conda-forge
libffi 3.4.2 h7f98852_5 conda-forge
libgcc-ng 12.1.0 h8d9b700_16 conda-forge
libgfortran-ng 12.1.0 h69a702a_16 conda-forge
libgfortran5 12.1.0 hdcd56e2_16 conda-forge
libgomp 12.1.0 h8d9b700_16 conda-forge
liblapack 3.9.0 16_linux64_openblas conda-forge
libnghttp2 1.47.0 hff17c54_1 conda-forge
libnsl 2.0.0 h7f98852_0 conda-forge
libopenblas 0.3.21 pthreads_h78a6416_3 conda-forge
libpng 1.6.37 h753d276_4 conda-forge
libsqlite 3.39.2 h753d276_1 conda-forge
libssh2 1.10.0 hf14f497_3 conda-forge
libstdcxx-ng 12.1.0 ha89aaad_16 conda-forge
libtiff 4.4.0 h0e0dad5_3 conda-forge
libuuid 2.32.1 h7f98852_1000 conda-forge
libwebp-base 1.2.4 h166bdaf_0 conda-forge
libxcb 1.13 h7f98852_1004 conda-forge
libzlib 1.2.12 h166bdaf_2 conda-forge
matplotlib-base 3.5.3 py310h8d5ebf3_2 conda-forge
munkres 1.1.4 pyh9f0ad1d_0 conda-forge
ncurses 6.3 h27087fc_1 conda-forge
numpy 1.23.2 py310h53a5b5f_0 conda-forge
openjpeg 2.5.0 h7d73246_1 conda-forge
openssl 3.0.5 h166bdaf_1 conda-forge
packaging 21.3 pyhd8ed1ab_0 conda-forge
pillow 9.2.0 py310hbd86126_2 conda-forge
pip 22.2.2 pyhd8ed1ab_0 conda-forge
proj 9.0.1 h93bde94_1 conda-forge
pthread-stubs 0.4 h36c2ea0_1001 conda-forge
pyparsing 3.0.9 pyhd8ed1ab_0 conda-forge
pyproj 3.3.1 py310hf94497c_1 conda-forge
pyshp 2.3.1 pyhd8ed1ab_0 conda-forge
python 3.10.6 ha86cf86_0_cpython conda-forge
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python_abi 3.10 2_cp310 conda-forge
readline 8.1.2 h0f457ee_0 conda-forge
scipy 1.9.1 py310hdfbd76f_0 conda-forge
setuptools 65.3.0 pyhd8ed1ab_1 conda-forge
shapely 2.0a1 py310h721e2b3_0 conda-forge/label/shapely_dev
six 1.16.0 pyh6c4a22f_0 conda-forge
sqlite 3.39.2 h4ff8645_1 conda-forge
tk 8.6.12 h27826a3_0 conda-forge
tzdata 2022c h191b570_0 conda-forge
unicodedata2 14.0.0 py310h5764c6d_1 conda-forge
wheel 0.37.1 pyhd8ed1ab_0 conda-forge
xorg-libxau 1.0.9 h7f98852_0 conda-forge
xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge
xz 5.2.6 h166bdaf_0 conda-forge
zstd 1.5.2 h6239696_4 conda-forge
pip list
Metadata
Metadata
Assignees
Labels
No labels