Error coming in the configuration of Geopy library.
Error details
geopy. exc.ConfigurationError:
Using Nominatim with default or sample `user_agent` "geopy/2.2.0" is strongly discouraged, as it violates Nominatim's ToS https://operations.osmfoundation.org/policies/nominatim/ and may possibly cause 403 and 429 HTTP errors. Please specify a custom `user_agent` with `Nominatim(user_agent="my-application")` or by overriding the default `user_agent`: `geopy.geocoders.options.default_user_agent = "my-application"`.
The reason behind of coming Error is the default value of UA (User-Agent ) is terrible. For resolving this problem, you have to specify User-Agent in a unique string.
geolocator = Nominatim(user_agent='your unique UA')
You may face other relatable Errors: Python Keras Error: AttributeError: ‘Sequential‘ object has no attribute ‘predict_classes’