-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module 'pysal.explore.spaghetti' has no attribute 'element_as_gdf' #323
Comments
@TransUMD, thanks for the report! I should be able to look into this in the next several days. |
Thanks! One more information is that I install Pusan directly via pip install pysal. The raw code here have this function but I am not sure whether my version is right. Thanks. |
Do you mean import pysal
import spaghetti
print(pysal.__version__)
print(spaghetti.__version__) Also, keep in mind that |
Hello, I do have geopandas installed in my computer. The version of these are. pysal: 2.0.0 Thanks |
It also happens to me when running: counts = ntw.count_per_link(ntw.pointpatterns['crimes'].obs_to_arc, I got: 'Network' object has no attribute 'count_per_link' |
It sounds like you may have corrupted installation of @sjsrey @ljwolf @weikang9009 Any suggestions here? |
Thank you. I tried to install spaghetti separately and it works now by just import spaghetti. Not sure why it does not work with: import pysal.explore.spaghetti |
@TransUMD, this may very well be an issue with how we are bundling |
Thank you! |
@TransUMD @jGaboardi Maybe try installing the most recent version of pysal? (pysal 2.1.0)
|
@weikang9009 good catch! I had missed that @TransUMD was working from @TransUMD |
@weikang9009 Thanks. I re-install pysal and the problem is solved. Thank you all for the response! |
Describe the bug
module 'pysal.explore.spaghetti' has no attribute 'element_as_gdf'
To Reproduce
Running the example Spaghetti_Pointpatterns_Empirical.ipynb
The text was updated successfully, but these errors were encountered: