December 2017
Intermediate to advanced
386 pages
10h 42m
English
As an example, let's say we want to install the Bokeh package, located at http://bokeh.pydata.org/.
Bokeh is a visualization library that targets modern browsers for presentation. It produces high-quality plots in a variety of formats for inclusion in web pages. To install Bokeh in macOS or Linux, all you need to do is to run the following command in a Terminal window:
pip3 install bokeh
To install on Windows, run the following command at the Command Prompt:
pip install bokeh
This will remotely access PyPI, fetch Bokeh and all its dependencies, build the package, and make it accessible in the current Python 3 installation. To test the package, use a text editor to enter the following code in the bokeh_test.py file:
import ...
Read now
Unlock full access