You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
jokervTv
changed the title
Shapefile definition is incomplete but successfully downloaded
Python 3.12: Shapefile definition is incomplete but successfully downloaded
Nov 15, 2023
I see that you have pyshp 2.1.3 installed.
I had the same problem, which was caused by cartopy calling pyshp's reader with a Path object, which is not supported in pyshp 2.1.3.
Upgrading pyshp to version 2.3.1 fixed it for me.
Thanks for the diagnosis @aperrin66. I confirm I can reproduce the error by downgrading pyshp to v2.2. The error is hard to decipher so I think if we are not going to take #2239 we should bump the minimum pin for pyshp to v2.3.
Description
Code to reproduce:
Traceback:
This is very confusing. I check the dir
.local/share/cartopy/shapefiles/natural_earth/physical
,the file is right here, how to think about it ?
Operating system
manjaro linux
Cartopy version
0.22
conda list
and when I siwtch to python 3.11, it work well.
Thanks for your Reading.
The text was updated successfully, but these errors were encountered: