Join us on July 16th as we explore real-world Reinforcement Learning Learn more

dataiku import error

Dataiker
Dataiker
dataiku import error
Hi,

I am trying to import Dataiku in python by using Anaconda Jupyter notebook

It returns with bellow error:

"Import Error: No module named dataiku"

Can you pls advise how to resolve it?
0 Kudos
2 Replies
Dataiker
Dataiker
Hi,

The "dataiku" module is an internal one, which is designed to work while within DSS. Note that DSS already includes Jupyter notebook, so you don't need to have an external Jupyter.

If you want to control DSS from an external system, you can use the public API and its Python client (the "dataikuapi" package). See http://doc.dataiku.com/dss/4.0/api/public/client-python/
0 Kudos
Level 2
Do you know if the internal module works when writing a plugin? I am trying to use the dataiku module in the development of a plugin and am getting the following error:

File "/dataiku-dss-4.0.7/python/dataiku/__init__.py", line 85, in api_client
[2017/09/21-15:24:10.746] [Exec-4512] [INFO] [dku.utils] - raise Exception("API Ticket not available")
[2017/09/21-15:24:10.746] [Exec-4512] [INFO] [dku.utils] - Exception: API Ticket not available
0 Kudos
Labels (3)