首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >导入我的python googlemaps模块后,它会显示.geocode和.reverse_geocode的未解析属性

导入我的python googlemaps模块后,它会显示.geocode和.reverse_geocode的未解析属性
EN

Stack Overflow用户
提问于 2019-10-31 00:02:23
回答 1查看 69关注 0票数 1

在:

代码语言:javascript
复制
import googlemaps
from datetime import datetime

gmaps = googlemaps.Client(key='Add Your Key here')

# Geocoding an address
geocode_result = gmaps.geocode('1600 Amphitheatre Parkway, Mountain View, CA')

# Look up an address with reverse geocoding
reverse_geocode_result = gmaps.reverse_geocode((40.714224, -73.961452))

Pycharm说.geocode.reverse_geocode是未解析的属性...没有它们,我就不能使用API。这是来自谷歌的官方应用编程接口:https://github.com/googlemaps/google-maps-services-python

EN

回答 1

Stack Overflow用户

发布于 2020-01-11 23:44:03

这与谷歌账单有关,他们想让你注册一张信用卡,然后就解决了它。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/58629443

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档