cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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
Esteemed Contributor III
Esteemed Contributor III

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! 

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.