From 66585000abefdcc664f85f56638872a457c079d6 Mon Sep 17 00:00:00 2001 From: Shrini Date: Thu, 26 Mar 2026 19:24:58 +0400 Subject: [PATCH] fix: add missing plotly, pandas, numpy to Streamlit requirements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit streamlit_app.py imports numpy, pandas, plotly.express, and plotly.graph_objects at the top level, but requirements.txt only listed upstox-python-sdk and plotext — causing the Streamlit Cloud deployment to fail on startup with ModuleNotFoundError before any user-facing code runs. Added the four missing packages: - streamlit (explicit pin, good practice for Cloud deployments) - plotly (candlestick + volume charts, options visualisations) - pandas (dataframes throughout all examples) - numpy (maths helpers in options analytics and historical analysis) --- interactive_examples/requirements.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interactive_examples/requirements.txt b/interactive_examples/requirements.txt index 7a189ad..af40b52 100644 --- a/interactive_examples/requirements.txt +++ b/interactive_examples/requirements.txt @@ -1,2 +1,6 @@ upstox-python-sdk plotext +streamlit +plotly +pandas +numpy