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
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! 

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!