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: 

Installing pdpbox plugin on cluster

118004
New Contributor II

Hello,

We are having issues installing the pdpbox library on a fresh cluster. This includes trying to upload and install a whl file, or using pip in a workbook. I have attached an example of an error received. Can anybody assist with installing the library or troubleshooting the errors?

1 ACCEPTED SOLUTION

Accepted Solutions

Hubert-Dudek
Esteemed Contributor III

PDPbox is updated rarely, and it requires older versions of matplotlib (3.1.1)

https://github.com/SauceCat/PDPbox

It tries to install but fails because matplotlib requires pkgconfig.

The solution to that is to use Machine Learning runtime. There it will work. If any problem occurs please pip install pkgconfig alsoimage.png 

View solution in original post

1 REPLY 1

Hubert-Dudek
Esteemed Contributor III

PDPbox is updated rarely, and it requires older versions of matplotlib (3.1.1)

https://github.com/SauceCat/PDPbox

It tries to install but fails because matplotlib requires pkgconfig.

The solution to that is to use Machine Learning runtime. There it will work. If any problem occurs please pip install pkgconfig alsoimage.png 

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