notebooks icon indicating copy to clipboard operation
notebooks copied to clipboard

Import Error : OD_weights

Open thedatalass opened this issue 5 years ago • 1 comments

OD Weights

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-4217c6ea02bd> in <module>
      1 import pysal as ps
----> 2 from pysal import weights as w
      3 import numpy as np
      4 import scipy.sparse as sp

ImportError: cannot import name 'weights' from 'pysal' (/srv/conda/lib/python3.7/site-packages/pysal/__init__.py)

thedatalass avatar Jul 13 '19 18:07 thedatalass

This looks like this needs to update to the new pysal structure.

ljwolf avatar Jul 13 '19 20:07 ljwolf