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: 

Compute Policy Does Not Install Libraries

Kayla
Valued Contributor II

Has anyone else run into the issue where applying libraries through a compute policy just completely does not work?
I'm trying to insane some pretty basic Python libraries from PyPI (pytest and paramiko, for example) and it is failing on 13.3 and 14.3 LTS versions.

I am using "Shared" access mode and Unity Catalog enabled.

1 ACCEPTED SOLUTION

Accepted Solutions

Kayla
Valued Contributor II

I was able to install these libraries using a %pip command, so they are definitely compatible with the cluster.
I'm also using an all-purpose cluster doing interactive development work, so the dependent libraries for workflows aren't relevant here.

Interesting change I've seen- the libraries are now installing properly. At a guess, there was some sort of delay after I apply to the policy to the cluster (the cluster was previously on a different policy)

View solution in original post

1 REPLY 1

Kayla
Valued Contributor II

I was able to install these libraries using a %pip command, so they are definitely compatible with the cluster.
I'm also using an all-purpose cluster doing interactive development work, so the dependent libraries for workflows aren't relevant here.

Interesting change I've seen- the libraries are now installing properly. At a guess, there was some sort of delay after I apply to the policy to the cluster (the cluster was previously on a different policy)

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now