通过 pip 安装

pip install bokeh

✅ 推荐用于大多数用户,支持最新版本
点击查看 Bokeh 官方主页 获取更多安装选项

pip

通过 conda 安装

conda install -c conda-forge bokeh

🐍 Anaconda 用户首选,预编译二进制包
了解更多 Conda 使用技巧

conda

从源码安装

  1. 克隆仓库:git clone https://github.com/bokeh/bokeh.git
  2. 进入目录:cd bokeh
  3. 安装依赖:pip install -e .

🧬 适用于需要自定义编译的开发者
查看源码安装完整文档

source_code