I want to run this example. It fails on the first line:
$ python3
>>> import shapefile
ModuleNotFoundError: No module named 'shapefile'
Apparently shapefile
is not in the standard library. When I search in PyPi I get results, but in the first result no import shapefile
is provided, so it's unclear if this will work for me.
Am I missing something here, and should I just try all matches from the PyPi search without any reasoning? I'm a bit lost here...
pyshp
seems to be the correct one (probably got renamed in the last 9 years), as it also has the same author listed as in your linked document.