Can someone explain to me why I am told that AttributeError: module 'osmnx' has no attribute 'get_nearest_node' when I run my streamlit application? I have installed scipy and scikit-learn.
Asked
Active
Viewed 2,775 times
1
-
See also https://stackoverflow.com/q/69392846/7321942 – gboeing Oct 22 '22 at 10:04
1 Answers
2
get_nearest_node()
was removed from OSMnx in version 1.1.0.
The most similar function which is still available is osmnx.nearest_nodes(). However, it is slightly different and you should read the documentation to understand how.

Nick ODell
- 15,465
- 3
- 32
- 66