cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot install wheel from Workspace in DLT

Thms317
New Contributor III

Hi all. I am no longer able to install my custom wheel in my DLT pipeline. No matter what configuration I try I cannot get it to work: parameterized or just hard-coding the path to the wheel. If I run the hard-coded cell with an all-purpose cluster the wheel installs just fine, so I am guessing DLT has not longer access to my workspace files?

I have deployed the pipeline via a Databricks Asset Bundle and I am trying to load from a /Workspace/Shared/ folder. The error message I am getting is always the same: 

CalledProcessError: Command 'pip --disable-pip-version-check install Workspace/Shared/.bundle/blifc/acc/files/dist/blifc-*-py3-none-any.whl' returned non-zero exit status 1.

See the attached screenshots for a bunch of things I tried, and the error message. 

1 ACCEPTED SOLUTION

Accepted Solutions

Thms317
New Contributor III

I managed to fix the issue. The problem was that my wheel was built for Databricks Runtime 14.3 LTS and I was using the PREVIEW channel rather than the CURRENT channel. At time of writing:

  • CURRENT(default): Databricks Runtime 14.1 --> Python: 3.10.12
  • PREVIEW: Databricks Runtime 15.2 --> Python: 3.11.0

I am not very happy about the generic error message, so hopefully Databricks will fix that in the future. 

View solution in original post

2 REPLIES 2

Thms317
New Contributor III

I managed to fix the issue. The problem was that my wheel was built for Databricks Runtime 14.3 LTS and I was using the PREVIEW channel rather than the CURRENT channel. At time of writing:

  • CURRENT(default): Databricks Runtime 14.1 --> Python: 3.10.12
  • PREVIEW: Databricks Runtime 15.2 --> Python: 3.11.0

I am not very happy about the generic error message, so hopefully Databricks will fix that in the future. 

bhanu_gautam
New Contributor III

@Thms317 ,Thanks for sharing

Regards
Bhanu Gautam

Kudos are appreciated

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