Skip to main content
Manages the installed Python packages associated with the given Python UDF/UDTF environment. Packages are given as a space-separated list of names; and for installations, an optional version number per package can be specified.
ALTER FUNCTION ENVIRONMENT (Install Package) Syntax
ALTER FUNCTION ENVIRONMENT (Uninstall Package) Syntax

Parameters

<environment name>

Name of the UDF environment to manage

<package name>

Name of the Python package to install into or uninstall from the UDF environment

<package version>

Version number of the Python package to install

Examples

To install the sentence-transformers package into the Python UDF environment udfe_st:
Install Python Package Example
To uninstall the sentence-transformers package from the Python UDF environment udfe_st:
Uninstall Python Package Example