Python packages

SigTech can be used with third-party Python packages

Warning: not all third party packages will work with SigTech. Some may not comply with restrictions we put in place to ensure SigTech functionality. Other packages may be dependent on components not used SigTech.

Pre-installed third-party packages

SigTech automatically pre-installs a number of third-party packages. To list them, run the following:

%pip list

Unlike packages you add yourself, these packages are always automatically installed every time the research environment runs.

Full installation guide

Note: installing a package in one notebook makes it available for all notebooks in that workspace.

Hint: packages are only installed for the duration of a research environment session. To ensure all your Python packages are installed every session, integrate the process below into your daily workflow.

There are two ways to install packages on SigTech:

Simple approach

Add these installation commands to one of the initial cells in your notebook.

  1. %pip install <name of package>

  2. import <name of package>==<version> (specifying version is optional)

Examples

Install via text file (best if you have many packages)

List all the packages in a text file, then point the pip install command to that text file. This approach allows for all packages to be installed with one pip install command.

  1. Create the text file.

  2. Rename the file. For example, requirements.txt.

  3. List all the Python packages needed:

  4. In a notebook, install all the Python packages listed in the requirements.txt file with the following command:

Last updated

© 2023 SIG Technologies Limited