pysal-scipy20 icon indicating copy to clipboard operation
pysal-scipy20 copied to clipboard

splot.pysal module

Open jaimebayes opened this issue 4 years ago • 4 comments

Hi,

I am getting this error, so I am wondering if it is related with the pysal version. Actually, I am using pysal 2.4.0 under Colab.

ModuleNotFoundError: No module named 'splot.pysal'

Thanks in advance for any advice, JL

jaimebayes avatar Jul 06 '21 22:07 jaimebayes

can you share where you're running into that error? If i launch the binder instance for this workshop and run a few notebooks, I cant seem to reproduce?

knaaptime avatar Jul 08 '21 16:07 knaaptime

Hi,

The error was found into the 02_spatial_weights.ipynb notebook, after this line: from splot.pysal import plot_spatial_weights ModuleNotFoundError Traceback (most recent call last) in () ----> 1 from splot.pysal import plot_spatial_weights ModuleNotFoundError: No module named 'splot.pysal'

The pysal version is 2.4.0.

Thanks in advance, JL

jaimebayes avatar Jul 08 '21 21:07 jaimebayes

in the beginning? should be

from splot.libpysal import plot_spatial_weights

image

knaaptime avatar Jul 08 '21 23:07 knaaptime

Hi,

Sorry for delayed post, but I had not internet connection during last days. Following your instructions I got a different error related with splot, (libpysal version == 4.5.1)

ModuleNotFoundError Traceback (most recent call last) in () ----> 1 from splot.libpysal import plot_spatial_weights

ModuleNotFoundError: No module named 'splot'

Any other advice?, thanks in advance, JL

jaimebayes avatar Jul 17 '21 23:07 jaimebayes