dataiku import error

UserBird
UserBird Dataiker, Alpha Tester Posts: 535 Dataiker
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?

Answers

  • Clément_Stenac
    Clément_Stenac Dataiker, Dataiku DSS Core Designer, Registered Posts: 753 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/
  • Graham_E
    Graham_E Registered Posts: 14 ✭✭✭✭
    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
Setup Info
    Tags
      Help me…