How to install new packages from Python

An admin user (pgxds_admin_group) that needs to install additional packages for the Python interpreter variant must create a new Python paragraph and run the following code:

%pythonimport subprocess, osos.environ['http_proxy'] = '<HTTP proxy>'os.environ['https_proxy'] = '<https proxy>'subprocess.call(['pip', 'install', '--user', '--no-cache', "-U", "<NEEDED LIBRARY>"])

For more information, see:

Included Packages

Oracle Healthcare Translational Research-Notebook includes the following Python packages:

  • Pandas
  • Matplotlib
  • Cx_Oracle