Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/google-maps/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
gmapsapi在python上不起作用_Python_Google Maps_Jupyter Notebook - Fatal编程技术网

gmapsapi在python上不起作用

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 '

我试图在我的jupyter笔记本上暗示谷歌地图。我的环境是OSX,主要使用
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'
我怎样才能解决这个问题

谢谢