how to install the package using --index-url

jeremy98
Honored Contributor

Hi community,

I created a job using databricks asset bundle, but I'm worrying about how to install this dependency in the right way?

jeremy98_0-1744215217654.png

because, I was testing the related job, but seems it doesn't install the torch library properly

 

jeremy98
Honored Contributor

I tried to do it manually and it works.. through databricks asset bundle no. But, I did at the end:

            dependencies:
              - torch==2.5.1
              - --index-url https://download.pytorch.org/whl/cpu

 It says:
Error: file doesn't exist --index-url https://download.pytorch.org/whl/cpu

but this isn't true... since through UI works.

jeremy98
Honored Contributor

I suppose this is a bug from DABs..