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.
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: