cartopy
Prompt ImportError: DLL load failed while importing trace: The specified module cannot be found.
Delete all these installed libraries fiona, GDAL, etc.
pepper
pillow
shapely
gdal
fiona
Then install it in this order and it will be completed without error. https://www.lfd.uci.edu/~gohlke/pythonlibs/ all have to be installed manually
If you don't have VC++, you have to install VC++
import matplotlib.pyplot as plt
import cartopy.crs as ccrs
# set projection
ax = plt.axes(projection=ccrs.Robinson(central_longitude=150))
# plot coastlines & gridlines
ax.coastlines()
ax.gridlines(linestyle='- -')
# show figure
plt.show()
This test code has some problems at the beginning of the test, and then install pip install matplotlib==3.5.2
Then there is no problem, the picture is produced