为什么我得到一个ImportError:不能在python中导入名称'gmap'?

2024-04-23 15:16:26 发布

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

import pandas as pd
from bokeh.io import output_file, show
from bokeh.models import ColumnDataSource, GMapOptions
from bokeh.plotting import gmap

这些是我编写一个Bokeh程序的输入代码,该程序从CSV文件读取经纬度信息,并用圆圈标出经纬度,以便在google地图上显示机构。我正在运行macOS High Sierra 10.13.6,如果这很重要的话。在

以下是我的代码:

^{pr2}$

Tags: 代码fromioimport程序pandasoutputmodels