Can't install python library

u2dragon
New Contributor III

I'm trying to install a python library but I'm not able, the status won't change from "pending".

I get this message when I click on the library under the cluster's Libraries tab: "Library installation has been attempted on the driver node but has not finished yet".

I have no problem with the installation of other libraries. Has anyone any idea how to solve this problem? Thanks in advance.

Update: I tried to install the library from the notebook by typing

 pip install piwebapi-restapi

At least in the "terminal" I was able to see that something was happening (downloading and installing of files), but after 2 hours the installation stopped with the error "Command 'pip --disable-pip-version-check install piwebapi-restapi' returned non-zero exit status 1."