Anaconda 2.4.2: The JupyterLab 3.5.3 fails to run the python code of the Geographically Weighted Regression (GWR),

Anaconda 2.4.2: The JupyterLab 3.5.3 fails to run the python code of the Geographically Weighted Regression (GWR),

I couldn’t figure out why the The JupyterLab 3.5.3 fails to run the python code of the Geographically Weighted Regression (GWR) and ends up with the error below:


ModuleNotFoundError Traceback (most recent call last)
Cell In[1], line 3
1 import pandas as pd
2 import numpy as np
----> 3 from spreg import GWR
4 from spreg.utils import read_spatialdata
6 # Load the data from the Excel file

ModuleNotFoundError: No module named ‘spreg’