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.
SigTech automatically pre-installs a number of third-party packages. To list them, run the following:
Unlike packages you add yourself, these packages are always automatically installed every time the research environment runs.
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:
Add these installation commands to one of the initial cells in your notebook.
%pip install <name of package>
import <name of package>==<version>(specifying version is optional)
Installing and importing
Installing with version specified
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: