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
- typing_extensions >=3.7.4
2. Optional Dependencies
- Selenium, GeckoDriver, Firefox
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