指定GeocoderSufficientPrivileges时出错:HTTP错误403:禁止

2024-04-30 02:31:27 发布

您现在位置:Python中文网/ 问答频道 /正文

Traceback (most recent call last):
File "geo2.py", line 8, in <module> location = geolocator.geocode(lokacija, timeout=5)
File "/usr/local/lib/python2.7/dist-packages/geopy/geocoders/osm.py", line
192, in geocode self._call_geocoder(url, timeout=timeout), exactly_one
File "/usr/local/lib/python2.7/dist-packages/geopy/geocoders/base.py", line
147, in _call_geocoder
raise ERROR_CODE_MAP[code](message) geopy.exc.GeocoderInsufficientPrivileges: HTTP Error 403: Forbidden

到昨天还不错,现在不能开始了。在

有人看到这个吗?在


Tags: inpylibpackagesusrlocaldistline