No module named 'libpysal.api' found when I tried to import
See original GitHub issueHello,
When I tried to import the function read_ltdb using the following command:
from osnap.data import read_ltdb
I got this error:
In this case I need to manually change this line in ‘heuristics.py’, but perhaps it would be nice if this intermediate step was not necessary.
Kind regards, Renan
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
No module named 'libpysal.api' found when I tried to import #8
Hello, When I tried to import the function read_ltdb using the following command: from osnap.data import read_ltdb I got this error: In this ......
Read more >pysal - Error while import plot_spatial_weights in Python
I am trying to import plot_spatial_weights from pysal.viz.splot.libpysal ... ModuleNotFoundError: No module named 'pysal.viz'.
Read more >JupyterLab importError for libpysal and momepy
A simple import libpysal and import momepy causes the following error: ... <module> 24 25 try: ---> 26 import pygeos 27 28 HAS_PYGEOS...
Read more >Installation — libpysal v4.7.0 Manual
Installation¶. libpysal supports python >= 3.7 only. Please make sure that you are operating in a python 3 environment.
Read more >libpysal - PyPI
libpysal modules. libpysal.cg Computational geometry. libpysal.io Input and output. libpysal.weights Spatial weights. libpysal.examples Built-in example ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It works now. I did what you recommended, uninstalled region and did pip install, but I also installed osnap and geosnap in my current environment. thanks!
osnap depends on
region
, but the currently releasedregion
is broken because it uses the old libpysal import