Regarding the code environment
![MS_Latha](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar1.png)
Hi experts,
I am working on developer certification. In the Insights concept, there is a technical requirement to install the following packages
plotly==4.14.3
nbformat==4.2.0
altair==4.0.1
I am using the online DSS launchpad and created a new code environment with these packages, but I am not able to use it in my insight creation. Help me to resolve this problem.
Thankyou
Best Answer
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,211 Dataiker
Hi,
From the screenshot, it appears you may not be using the dash code enviornment.
Can you please change the kernel to :You would then see :
Answers
-
Matias Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Registered Posts: 12 Dataiker
Hello Latha,
If you are using Dataiku Online, you can simply use the “dash” code environment as that one already has those packages installed.
Otherwise, you can follow the instructions in this article to create a code environment compatible with all courses in the Developer learning path.
The tutorial you are following was tested using a Python 3.6 code environment. Other Python versions may be compatible.
Then, within your notebook, you should import those libraries as you can see while doing the following hands-on:
If you're still not able to do it, could you please let me know if you're actually receiving any type of error?
Hope this information helps and looking forward to your feedback!
Best,
Matias
-
MS_Latha Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 8 Partner
Hi @MatiasL
Thanks for your response.
As you said the dash code environment has already these packages installed but I am getting the error while executing the code in the notebook.
Please find the screenshot of the error which is attached.