Installing Python packages

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

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

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](/learn/guide/getting-started/dss-concepts/the-dss-datadir.html). Then you will be able to import them in all Python recipes or notebooks within DSS.