Bokeh – Environment Setup
”;
Bokeh can be installed on CPython versions 2.7 and 3.5+ only both with Standard distribution and Anaconda distribution. Current version of Bokeh at the time of writing this tutorial is ver. 1.3.4. Bokeh package has the following dependencies −
- jinja2 >= 2.7
- numpy >= 1.7.1
- packaging >= 16.8
- pillow >= 4.0
- python-dateutil >= 2.1
- pyyaml >= 3.10
- six >= 1.5.2
- tornado >= 4.3
Generally, above packages are installed automatically when Bokeh is installed using Python’s built-in Package manager PIP as shown below −
pip3 install bokeh
If you are using Anaconda distribution, use conda package manager as follows −
conda install bokeh
In addition to the above dependencies, you may require additional packages such as pandas, psutil, etc., for specific purposes.
To verify if Bokeh has been successfully installed, import bokeh package in Python terminal and check its version −
>>> import bokeh >>> bokeh.__version__ ''1.3.4''
”;