I am looking at this script:
https://github.com/gboeing/osmnx/blob/master/osmnx/stats.py
On line 15, there is this:
from .simplify import clean_intersections
I tried to import it but got this message:
ModuleNotFoundError: No module named '__main__.simplify'; '__main__' is not a package
I tried to search for the package on conda, I couldn't find anything.
How do I proceed?
I get a similar message for lines 16-20, eg:
from .utils import log
returns:
ModuleNotFoundError: No module named '__main__.utils'; '__main__' is not a package