0 votes

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?

1 Answer

0 votes

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/
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
1,296 questions
1,324 answers
11,862 users

©Dataiku 2012-2018 - Privacy Policy