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

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

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

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)

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