Passing additional pip install options

You can use the pip_install_options TOML option to pass additional pip install options formatted as a list. The following are two examples that demonstrate how this option can be used.

  • When installing Python packages, you can use this TOML option to specify your organization’s internal Python package index as follows:

pip_install_options="['--extra-index-url', 'http://my-own-repo:port']"
  • You can use this TOML option to install Python packages with a proxy server as follows:

pip_install_options="['--proxy', 'http://user:password@proxyserver:port']"

Passing multiple pip install options to DAI

The following example demonstrates how to correctly pass multiple pip install options to DAI.

pip_install_options="['--extra-index-url', 'http://my-own-repo1:port','--extra-index-url', 'http://my-own-repo2:port']"