Installing Python Packages

Follow this step to install packages from within the notebook environment.

Perform this task in the Jupyter Notebooks environment in the Team Studio workspace.

Prerequisites

You must have access to a server running Python and Jupyter Notebooks for Team Studio. You must have created a Jupyter Notebook.

Procedure

  • At the command prompt, enter !pip install packagename.
    Use pip2 or pip3, depending on whether your installation is using kernel 2 or 3.

    The following example demonstrates installing the publicly-available package PyPI using kernel 3.

    installing a Python package using pip