Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Installing additional Python packages

Column


Note

If you think there is a Python package that must be included in the container as widely used in the Machine Learning community, you can submit a ticket to the Help Desk and we will evaluate your request.




You can use a virtual environment to install additional Python packages you require and the container lacks. The trick is to create a virtual environment using the Python installation within the container. This ensures that your Packages are installed considering what is already installed on the container and not on Setonix. However, the virtual environment will be created on the host filesystem, ideally Setonix's /software. Filesystems of Setonix are mounted by default on containers, are writable from within the container, and hence pip  can install additional packages. Additionally, virtual environments can be preserved from one container run to the next.

...