gmapsapi在python上不起作用
我试图在我的jupyter笔记本上暗示谷歌地图。我的环境是OSX,主要使用gmapsapi在python上不起作用,python,google-maps,jupyter-notebook,Python,Google Maps,Jupyter Notebook,我试图在我的jupyter笔记本上暗示谷歌地图。我的环境是OSX,主要使用condadistribution python 我在conda列表和pip列表中看到gmaps,我可以成功导入gmaps。 但是,我无法调用configure import gmaps import gmaps.datasets gmaps.configure(api_key="AI...") fig = gmaps.figure() fig 然后我收到了这个错误信息 AttributeError: module '
conda
distribution python
我在conda列表和pip列表中看到gmaps
,我可以成功导入gmaps
。
但是,我无法调用configure
import gmaps
import gmaps.datasets
gmaps.configure(api_key="AI...")
fig = gmaps.figure()
fig
然后我收到了这个错误信息
AttributeError: module 'gmaps' has no attribute 'configure'
我怎样才能解决这个问题
谢谢