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?

Hubert-Dudek
Databricks MVP

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 


My blog: https://databrickster.medium.com/

View solution in original post