1

Im trying simple queries like this (which come in geopy documentation:

from geopy.geocoders import Nominatim
geolocator = Nominatim(user_agent='testing')
location = geolocator.geocode("175 5th Avenue NYC")
print(location.raw)

but I get this error:

    GeocoderServiceError: [SSL: CERTIFICATE_VERIFY_FAILED] 
    certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)

Does anybody knows how to fix it and make it run?

I have python 3.8 on Jupyter Notebook

Cateban
  • 47
  • 1
  • 7

1 Answers1

0

Found the issue in this:

brew installation of Python 3.6.1: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

Basically, for some reason, Brew did not run the Install Certificates.command that comes in the Python3 bundle for Mac.

Cateban
  • 47
  • 1
  • 7