Code Studio Environments w/Streamlit

Options
importthepandas
importthepandas Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 115 Neuron

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.

Best Answers

  • Gauthier
    Gauthier Dataiker Posts: 1 Dataiker
    Answer ✓
    Options

    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!

  • importthepandas
    importthepandas Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 115 Neuron
    Answer ✓
    Options

    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

Setup Info
    Tags
      Help me…