-
Default project key is not specified (no DKU_CURRENT_PROJECT_KEY in env)
I'm creating a python function endpoint with this script: And I don't know how to deal with this error: Dev server deployment FAILED Failed to initiate function server : <class 'Exception'> : Default project key is not specified (no DKU_CURRENT_PROJECT_KEY in env)
-
Practical Use of Code Studios
I am starting this thread to learn about how others are using code studios (such as VSCode, JupyterLab, and Streamlit) and for what purposes. In our organization, we were initially excited about the feature introduced in DSS v11. However, our enthusiasm was quickly dampened by the fact that users cannot select the…
-
Using darts python library to create a custom Saved Model
I've followed the tutorial here: Importing serialized scikit-learn pipelines as Saved Models for MLOps - Dataiku Developer Guide and I've been able to develop a model using the darts==0.30.0 library, having wrapped it in the standard scikit-learn pipeline. My issue is with the very last part of step 3 of this tutorial…
-
Are there different ways to set up code environments?
I am trying to install pytorch in python3 in a code environment in data science studio. I can install it in the python3.5 install on the system that Data Science Studio is installed on. I've tried putting torch in the REQUESTED PACKAGES (PIP) part of the code environment administration but that doesn't work because pytorch…
-
Train Model Error - com.dataiku.dip.io.SocketBlockLink$SecretKernelTimeoutException
While going through the tutorials, I am getting following error for training the model: [2018/06/17-18:42:07.394] [MRT-164] [ERROR] [dku.analysis.ml.python] - Processing failed com.dataiku.dip.io.SocketBlockLink$SecretKernelTimeoutException: Subprocess failed to connect, it probably crashed at startup. Check the logs. at…
-
Is there a work-around for updating Pandas for use in a python code environment?
I'm working on something that would benefit greatly from using a newer version of pandas. I am aware that pandas is fixed to version 0.20.3 because that is the version the dataiku module requires. I have also experimented with overriding the core modules. I can work with the newest version of pandas by doing this but the…
-
Keras/Tensorflow Model fails "ImportError: No module named tensorflow"
Hi there guys! I just installed Dataiku on MacOS (so gpu processing is not supported). Trying to build a Deep learning model with keras and tensorflow, got an import error for tensorflow (using the default configuration/script). Is there something I'm doing wrong? Your help would be much appreciated. The error: [2019-05-23…
-
R Code Environmet
I have a need to create an R code environment through the Dataiku Python API. I am running the following code to do so: import dataiku client = dataiku.api_client() params = { "desc": { "usableByAll":False , 'installCorePackages': True , 'installJupyterSupport': True , } , 'permissions': [ { 'group': 'TestGroup1' ,…
-
ImportError: cannot import name 'logsumexp' when trainning model with python3 & sklearn env
Hi, I tried to train a model using code env of python3 and sklearn, but it failed with ImportError: cannot import name 'logsumexp' So, is the python3 supported for training?
-
Environment Update Failed because R package could not be installed.
Hi, I am trying to install the "quanteda" package in my code environment but getting an error message. The error message is as follows: In addition: Warning messages:1: In install.packages(toInstall, "/DataikuDev/code-envs/R/aditya_j_env/R.lib", : installation of package ‘sna’ had non-zero exit status2: In…