0

I pip installed mgwr along with all the supporting packages. Now, when I am trying to import specific attribute of mgwr, I am getting attribute error saying

AttributeError: module 'numpy' has no attribute 'typeDict'

I have checked all the solutions posted in the internet asking to install 1.21 version of numpy etc. but it still didn't work. Can anyone help me out with this?

import numpy as np
import pandas as pd
import libpysal as ps
import scipy
from mgwr.gwr import GWR, MGWR
from mgwr.sel_bw import Sel_BW
from mgwr.utils import compare_surfaces, truncate_colormap 
import geopandas as gp
import matplotlib.pyplot as plt
import matplotlib as mpl

This is my code and it is throwing error continuously. is this some issue related to versions?

James Z
  • 12,209
  • 10
  • 24
  • 44

0 Answers0