I have installed the pyshp package in my command prompt
pip install pyshp
and it’s successful ("Requirement already satisfied").
But I’m having problems importing shapefile into Jupyter Notebook with
import shapefile as sh
this gives the error: ModuleNotFoundError: No module named ‘shapefile’
What am I missing?
>Solution :
In your Jupyter notebook, write:
import sys
!{sys.executable} -m pip install pyshp
import shapefile as sh
Installing a package locally and installing it into your Jupyter kernel are two different things.