Skip to content

fix: add missing plotly, pandas, numpy to Streamlit requirements#140

Merged
PradeepJaiswar merged 1 commit intomasterfrom
fix/streamlit-requirements-missing-packages
Mar 26, 2026
Merged

fix: add missing plotly, pandas, numpy to Streamlit requirements#140
PradeepJaiswar merged 1 commit intomasterfrom
fix/streamlit-requirements-missing-packages

Conversation

@svishi
Copy link
Contributor

@svishi svishi commented Mar 26, 2026

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)

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)
@PradeepJaiswar PradeepJaiswar merged commit d19d9f7 into master Mar 26, 2026
4 checks passed
@PradeepJaiswar PradeepJaiswar deleted the fix/streamlit-requirements-missing-packages branch March 26, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants