Hello,
I recently switched from DBR 12.2 LTS to DBR 13.3 LTS and observed the following behavior:
My goal is to install a python library from a .whl file. I am using the UI for this task (Cluster settings -> Libraries -> Install new -> 'Python Whl' as Library Type and dropping my .whl file in there). The library installation fails with the following error message:
Library installation attempted on the driver node of cluster [*redacted*] and failed. Please refer to the following error message to fix the library or contact Databricks support. Error Code: DRIVER_LIBRARY_INSTALLATION_FAILURE. Error Message: org.apache.spark.SparkException: Process List(/bin/su, libraries, -c, bash /local_disk0/.ephemeral_nfs/cluster_libraries/python/python_start_clusterwide.sh /local_disk0/.ephemeral_nfs/cluster_libraries/python/bin/pip install --upgrade /local_disk0/tmp/addedFilec[*redacted*]/[*redacted*] --disable-pip-version-check) exited with code 1. ERROR: Could not find a version that satisfies the requirement [*redacted*] (from [*redacted*]) (from versions: none)
ERROR: No matching distribution found for [*redacted*]
The dependency for which no matching version could be found is located on a private PyPi repository (Azure Artifact Feed), which has been registered in a global init script as a pip extra index url. The execution of the global init script has been successful.
Three observations:
1) Installing the .whl library on DBR 12.2 LTS & previous versions works fine (I use this setup since quite a while).
2) Installing the .whl library fails on all DBR 13.x versions.
2) 🚨 Executing the same command
pip install --upgrade /local_disk0/tmp/addedFilec[*redacted*]/[*redacted*] --disable-pip-version-check
in the Web Terminal of the cluster works (!). I can verify this by 'pip list' in a notebook after manual installation of the .whl library. How can I install the .whl library? Could this be a bug in DBR 13.x versions? Thanks a lot!