module 'dataikuapi' has no attribute 'DSSClient' when trying to connect from outside DSS python

Solved!
Von1974
Level 2
module 'dataikuapi' has no attribute 'DSSClient' when trying to connect from outside DSS python

 

import dataikuapi

host = "https://hereisurl"
apiKey = "hereiskey"

client = dataikuapi.DSSClient(host, apiKey)

 

using the above code im trying to simply test connecting to DSS instance from python.

Python is on my local PC and DSS is on AWS.

Installed libraries dataiku-internal-client.tar.gz and dataiku-api-client.

However get error 

AttributeError: module 'dataikuapi' has no attribute 'DSSClient'

 Gone through all guides and cant fathom out what im doing wrong!

TIA

0 Kudos
1 Solution
Von1974
Level 2
Author

found the problem. Installed libs as root and logged on as another user.

View solution in original post

0 Kudos
2 Replies
Von1974
Level 2
Author

found the problem. Installed libs as root and logged on as another user.

0 Kudos
CoreyS
Dataiker Alumni

Thank you for sharing your solution @Von1974!

Looking for more resources to help you use Dataiku effectively and upskill your knowledge? Check out these great resources: Dataiku Academy | Documentation | Knowledge Base

A reply answered your question? Mark as โ€˜Accepted Solutionโ€™ to help others like you!
0 Kudos

Labels

?
Labels (1)
A banner prompting to get Dataiku