Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maintaining Library/Packages on Azure Databricks via requirements.txt

There is great documentation for installing packages 1-by-1 on azure databricks but not a way to do the equivalent of:

pip install -r requirements.txt

or to use the requirements file at all. Am managing a fairly large library and would like a simple process that allows to install all packages/libraries at once if possible!

like image 525
Shadeun Avatar asked Nov 17 '22 13:11

Shadeun


1 Answers

The Databricks runtime >= 7.1 supports:

%pip install -r /dbfs/requirements.txt

Link to documentation.

like image 159
cronoik Avatar answered Jan 13 '23 22:01

cronoik