Open arielman opened 4 years ago
Hi,
Dataiku APIs are made of two packages, "dataiku-api-client" (module name dataikuapi) and "dataiku-internal-client" (module name dataiku). The latter is not available from pypi repositories and must be downloaded from DSS itself, as indicated here: https://doc.dataiku.com/dss/latest/python-api/outside-usage.html#in-a-requirements-txt-file
Ok. but when I'm trying to install it manually, I get:
+ pip install dataiku-internal-client.tar.gz Processing ./dataiku-internal-client.tar.gz Collecting requests>=2 (from dataiku-internal-client==7.0.0) Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f15b95ec860>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/requests/
I'm trying to run the below example on my jenkins node:
https://community.dataiku.com/t5/Knowledge-Base/Building-a-Jenkins-pipeline-for-Dataiku-DSS/ta-p/10201 In one of the stages, I created python venv which install the
requirments.txt file
. I can see in the console log thatdataiku-api-client
was installed with version 8.0.0, but still, it fails later with the first command ofimport dataiku
:ModuleNotFoundError: No module named 'dataiku'
My python version is 3.7.4 any idea what's wrong with that?