How to install Python notebook packages globally?

How to install Python notebook packages globally?

book

Article ID: KB0072668

calendar_today

Updated On:

Products Versions
Spotfire Data Science Team Studio 6.5, 6.6

Description

This article explains how to install python packages globally for python notebook.

Environment

All Supported Environment

Resolution

Follow the following steps:
1. Log in to the command line of the Python notebook instance.
2. Navigate to /opt/conda/envs/python3/bin 
3. Install the python package using the following command. 
---------
./pip install <package_name>
---------
4. Import package in the notebook:
import <package_name> 
 

Issue/Introduction

How to install Python notebook packages to make them available for all users of the TIBCO Data Science Team Studio?