Python – Setting up the Bokeh Environment

Bokeh is supported on CPython versions 3.6+ only both with Standard distribution and Anaconda distribution. Other Python versions or implementations may or may not function. Current version of Bokeh is 2.0.2 . Bokeh package has the following dependencies:

1. Required Dependencies

  • PyYAML>=3.10
  • python-dateutil>=2.1
  • Jinja2>=2.7
  • numpy>=1.11.3
  • pillow>=4.0
  • packaging>=16.8
  • tornado>=5
  • typing_extensions >=3.7.4

2. Optional Dependencies

  • Jupyter
  • NodeJS
  • NetworkX
  • Pandas
  • psutil
  • Selenium, GeckoDriver, Firefox
  • Sphinx

How to install the bokeh package?

There are a few different ways to install Bokeh. If you are using Anaconda distribution, use conda package manager as follows ?

conda install bokeh

This installs all the dependencies that are need to be run Bokeh. If all the above said dependencies such as NumPy, Pandas, and Redis are installed, then you can install the bokeh package from PyPI using pip at the command line:

pip install bokeh

How to check Bokeh is installed or not?

To check whether the Bokeh is successfully installed, do the following:

  • Import bokeh package in Python terminal
  • Check the bokeh version

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using or mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :

Be the First to upvote.

Please write to us at to report any issue with the above content.