Aug-23-2023, 07:48 AM
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:
image links:
clip_19.jpg
clip_18.jpg
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:
ImportError Traceback (most recent call last) Cell In[6], line 5 3 import libpysal 4 from libpysal import weights ----> 5 from spreg import GWR, ML_Error 7 # Read the data from the Excel file 8 file_path = "C:/D/H3.xlsx" ImportError: cannot import name 'GWR' from 'spreg' (C:\Users\jamalali\anaconda3\lib\site-packages\spreg\__init__.py)---------------------------------------------------
image links:
clip_19.jpg
clip_18.jpg