-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError DLL load fails for importing cartopy.crs #2019
Comments
Try to reinstall shapely from source instead of the wheel file: |
Hi, I have been running in to this problem lately as well and it seems related to the shapely version? with:
So, as a workaround for now, pin your shapely version to 1.8.0. |
Hell @dopplershift! Is there a |
@firobeid Currently Cartopy doesn't release wheels (#1174) due to challenges maintaining build compatibility with Shapely. Even if we did, they wouldn't be For Wasm, building in Pyodide has been on my list, but I haven't gotten around to it. |
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
Hello! I get a ImportError for importing Cartopy in python 3.7. I installed the Cartopy 0.20 and all dependency with wheel file, and I tried to reinstall the Cartopy, the ImportError is still here.
Code to reproduce
Traceback
Full environment definition
I download the Cartopy and its dependency from https://www.lfd.uci.edu/~gohlke/pythonlibs/, and the files I get as follows:- Cartopy-0.20.2-cp37-cp37m-win_amd64.whl - GDAL-3.4.2-cp37-cp37m-win_amd64.whl - matplotlib-3.5.1-cp37-cp37m-win_amd64.whl - numpy-1.21.5+mkl-cp37-cp37m-win_amd64.whl - Pillow-8.4.0-cp37-cp37m-win_amd64.whl - pyproj-3.2.1-cp37-cp37m-win_amd64.whl - pyshp-2.2.0-py3-none-any.whl - Shapely-1.8.1.post1-cp37-cp37m-win_amd64.whl
Operating system
Windows 10 64 bit, Python 3.7.9
Cartopy version
Cartopy - 0.20.2
conda list
pip list
The text was updated successfully, but these errors were encountered: