Closed f2re closed 1 year ago
Make sure shapely is installed from source since we can't guarantee compatibility with your system's copy of GEOS and the copy that the Shapely wheels are built with:
pip3 install "shapely<2" --no-binary shapely --force-reinstall
We have just released v0.22 which should help with the compatibility between packages and installation much easier. Please open a new issue if you are still having problems.
Description
I have crashed cartopy on Python 3.10.7 and MacOS 12.5.1
Code to reproduce
Traceback
Full environment definition
### Operating system MacOS 12.5.1 ### Cartopy version Cartopy 0.21.1.dev32+g1198715 ### pip list ``` Package Version ------------------------ --------------------- alembic 1.6.5 anyio 3.6.1 APScheduler 3.6.3 Authlib 0.15.4 bcrypt 4.0.0 beautifulsoup4 4.11.1 blinker 1.4 boto3 1.24.17 botocore 1.27.17 bs4 0.0.1 cachetools 4.2.2 Cartopy 0.21.1.dev32+g1198715 certifi 2021.5.30 cffi 1.14.6 chardet 4.0.0 click 8.0.1 clickhouse-driver 0.2.4 colorama 0.4.4 cryptography 3.4.7 cycler 0.11.0 Cython 0.29.32 duckdb 0.5.0 Flask 2.0.1 Flask-Admin 1.5.8 Flask-Mail 0.9.1 Flask-Migrate 3.0.1 flask-msearch 0.2.9.2 Flask-SQLAlchemy 2.5.1 Flask-WTF 0.15.1 fonttools 4.28.2 google-api-core 1.31.0 google-auth 1.32.1 google-cloud-core 1.7.1 google-cloud-storage 1.40.0 google-crc32c 1.1.2 google-resumable-media 1.3.1 googleapis-common-protos 1.53.0 greenlet 1.1.0 gunicorn 20.1.0 h11 0.12.0 httpcore 0.15.0 httpx 0.23.0 idna 2.10 itsdangerous 2.0.1 Jinja2 3.0.1 jmespath 1.0.1 kiwisolver 1.3.2 loginpass 0.5 Mako 1.1.4 MarkupSafe 2.0.1 matplotlib 3.5.0 numpy 1.21.4 ordered-set 4.0.2 packaging 21.0 pandas 1.3.4 paramiko 2.11.0 Pillow 8.3.1 pip 22.2.2 protobuf 3.17.3 psycopg2 2.9.1 pyasn1 0.4.8 pyasn1-modules 0.2.8 pycparser 2.20 PyLaTeX 1.4.1 pymongo 4.2.0 PyNaCl 1.5.0 pyparsing 2.4.7 pyproj 3.4.0 pyshp 2.3.1 pyTelegramBotAPI 4.7.0 python-dateutil 2.8.1 python-dotenv 0.21.0 python-editor 1.0.4 python-telegram-bot 13.14 pytube 12.1.0 pytz 2021.1 pytz-deprecation-shim 0.1.0.post0 PyYAML 6.0 requests 2.25.1 rfc3986 1.5.0 rsa 4.7.2 s3transfer 0.6.0 scp 0.14.4 setuptools 65.3.0 setuptools-scm 6.3.2 Shapely 1.8.4 six 1.16.0 sniffio 1.3.0 soupsieve 2.3.2.post1 SQLAlchemy 1.4.20 tomli 1.2.2 tornado 6.1 tzdata 2022.2 tzlocal 4.2 urllib3 1.26.6 Werkzeug 2.0.1 wheel 0.37.1 Whoosh 2.7.4 WTForms 2.3.3 ```