03-02-2023 03:26 AM
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."
03-02-2023 10:27 AM
Ok, looks like I was able to solve my problem.
First, I needed to install all the required libraries one by one. These are the followings:
After that I was able to install the webAPI library.
03-02-2023 04:13 AM
the pypi page does not help, there is nothing on it. can you take a look at the driver logs?
03-02-2023 07:44 AM
I think that python package is more or less but the same as the content of this git hub repo: https://github.com/dcbark01/PI-Web-API-Client-Python
This package can be found under many names on pypi, according to my observation. E.g. this is also that one: https://pypi.org/project/osisoft.pidevclub.piwebapi-thompsonp17/
03-02-2023 05:48 AM
Do you have permissions to install libraries on the cluster? What cloud are you using?
03-02-2023 05:57 AM
I have the permissions, I was able to install other libraries. I'm using Azure.
03-02-2023 10:27 AM
Ok, looks like I was able to solve my problem.
First, I needed to install all the required libraries one by one. These are the followings:
After that I was able to install the webAPI library.
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