Discover all of the brand-new features and improvements to existing capabilities in the Dataiku 11.3 updateLET'S GO

Code Studio Environments w/Streamlit

Solved!
importthepandas
Level 4
Code Studio Environments w/Streamlit

Hi Team

How do we use other environments with Streamlit in code studios on Dataiku? Adding an env and changing the vscode session change doesnt affect streamlit.

0 Kudos
2 Solutions
Gauthier
Developer Advocate

Hello,

In the Streamlit block of your Code Studio template you can add packages in Additional Python modules with a space between them, for example: matplotlib plotly .

You will have to add the same packages that you have defined in your code environment.

Hope this helps!

View solution in original post

0 Kudos
importthepandas
Level 4
Author

Thanks @Gauthier ! this works, however not with our local pypi! However, append to dockerfile for the win... seems we can do this and it works great. Thanks!

 

Screen Shot 2022-10-18 at 12.09.36 PM.png

View solution in original post

2 Replies
Gauthier
Developer Advocate

Hello,

In the Streamlit block of your Code Studio template you can add packages in Additional Python modules with a space between them, for example: matplotlib plotly .

You will have to add the same packages that you have defined in your code environment.

Hope this helps!

0 Kudos
importthepandas
Level 4
Author

Thanks @Gauthier ! this works, however not with our local pypi! However, append to dockerfile for the win... seems we can do this and it works great. Thanks!

 

Screen Shot 2022-10-18 at 12.09.36 PM.png