Traceback (most recent call last):


 "<stdin>", line 1, in <module>
AttributeError: module 'geopy' has no attribute 'distance'


Traceback (most recent call last):


 "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/usr/lib/python3.7/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/usr/lib/python3.7/site-packages/pip/__main__.py", line 16, in <module>

from pip._internal.main import main as _main
# isort:skip # noqa


 "/usr/lib/python3.7/site-packages/pip/_internal/main.py", line 8, in <module>

import locale


 "/usr/lib/python3.7/locale.py", line 16, in <module>

import re


 "/usr/lib/python3.7/re.py", line 143, in <module>

class RegexFlag(enum.IntFlag):

AttributeError: module 'enum' has no attribute 'IntFlag'
