Reputation: 11
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.
Upvotes: 1
Views: 5083
Reputation: 25454
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.
Upvotes: 2