I have installed two packages such as mgwr and libpysal.
I can import them using a normal python script but when I try to import in my jupyter notebook I get the error that the modules don't exist
import libpysal as ps
ImportError: No module named libpysal
from mgwr.gwr import GWR, MGWR
ImportError: No module named mgwr
if I do from Terminal
! which python
/usr/local/opt/python/libexec/bin/python
from the notebook
! which python
/Users/myName/anaconda2/bin/python
! which pythonin Jupyter and check that the output is the same aswhich pythonin the terminal where you run your script.echo $PATHin terminal?