Installing Python packages

Any Python package can be used in DSS. There is no restriction to which package can be installed and used.

The recommended way to install your own Python packages is to install them in a code environment.

Additional prerequisites

As usual with Python package installation on Linux, you may need to install additional system dependencies if the target Python packages include native code. In particular you may need the system development tools (“build-essentials” on Debian/Ubuntu, “@Development tools” on RedHat/CentOS) and the Python interpreter header files (“python-dev” on Debian/Ubuntu, “python27-devel” on RedHat/CentOS 6.x, “python-devel” on RedHat/CentOS 7.x).

Installing custom Python packages


This will make your custom Python packages globally available for all Python code running with DSS.

If you have custom python code, for instance a module with user-defined functions and classes, you can copy them in the lib/python subdirectory of the DSS data directory. Then you will be able to import them in all Python recipes or notebooks within DSS.