pysal / notebooks

jupyter/ipython notebooks demonstrating PySAL functionality
53 stars 38 forks source link

Import Error : OD_weights #62

Open thedatalass opened 5 years ago

thedatalass commented 5 years ago

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)
ljwolf commented 5 years ago

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