Join the SIG TFX-Addons community and help make TFX even better!

tfx.components.util.udf_utils.install_to_temp_directory

Install the given pip dependency specifier to a temporary directory.

pip_dependency Path to a wheel file or a pip dependency specifier (e.g. "setuptools==18.0").
temp_dir Path to temporary installation location (optional).

Temporary directory where the package was installed, that should be added to the Python import path.