I am building a spark application that should run on Databricks. The application gets packaged into a wheel, pushed to the Databricks workspace and installed on a cluster. Due to my company's policies it is not possible to access PyPI directly but we must use an own internal, intermediate package repository. So trying to install the wheel fails as the application dependencies cannot be downloaded (obviously). The way of handling that in a regular pip install is to add the --index-url flag with the address of the intermediate repository: pip install my_wheel --index-url address/to/my/repo. In Databricks I am not pip installing a wheel but I am attaching it to a job (in the job definition) or an all purpose cluster so this is not possible.