cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

pip install in cluster using web UI and extra index

yopbibo
Contributor II

In an init script or a notebook, we can:

pip install --index-url=<our private pypi url> --extra-index-url=https://pypi.org/simple <a module>

In the cluster web UI (libraries -> install library), we can give only the url of our private repository, but no extra-index. That means that if our module gets dependencies to other modules available in pypi, it will fail, fetching them.

Is there a solution, using the web UI?

2 REPLIES 2

Debayan
Databricks Employee
Databricks Employee

Hi, All the libraries and the dependencies can be packed in the same bundle and uploaded in Web UI, is that feasible?

Found a good read on the same: https://www.activestate.com/resources/quick-reads/how-to-package-python-dependencies-with-pip-setupt...

Please let us know if this helps. 

Also, please tag @Debayan​ with your next response which will notify me. Thank you!

Anonymous
Not applicable

Hi @Philippe CRAVE​ 

Thank you for posting your question in our community! We are happy to assist you.

To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?

This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance! 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group