我正在尝试像这样的简单查询(它们在geopy documentation中出现:
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^0.1.2
font_awesome_flutter: ^8.4.0
但我收到此错误:
from geopy.geocoders import Nominatim
geolocator = Nominatim(user_agent='testing')
location = geolocator.geocode("175 5th Avenue NYC")
print(location.raw)
有人知道如何修复它并使其运行吗?
我在Jupyter Notebook上安装了python 3.8
答案 0 :(得分:0)
在此发现问题:
brew installation of Python 3.6.1: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
基本上,出于某种原因,Brew没有运行Mac的Python3捆绑包中随附的Install Certificates.command。