while running sample program which is using starlit library is failing with
from streamlit.version import STREAMLIT_VERSION_STRING as _STREAMLIT_VERSION_STRING
ModuleNotFoundError: No module named ‘packaging’
while trying to install matplotlib library using install pip matplotlib.
add code here import streamlit as st import numpy as np import pandas as pd import openai # Uncomment this if you want the random chart to display chart_data = pd.DataFrame( np.random.randn(20, 3), columns=['a', 'b', 'c'] ) st.line_chart(chart_data)
If applicable, please provide the steps we should take to reproduce the error or specified behavior.
Explain what you expect to happen when you run the code above.
Explain the undesired behavior or error you see when you run the code above.
If you’re seeing an error message, share the full contents of the error message here.
- Streamlit version: (get it with
$ streamlit version)
- Python version: (get it with
$ python --version)
- Using Conda? PipEnv? PyEnv? Pex?
- OS version:
- Browser version:
Using Conda? PipEnv? PyEnv? Pex? Share the contents of your requirements file here.
Not sure what a requirements file is? Check out this doc and add a requirements file to your app.
- Link to your GitHub repo:
- Link to your deployed app:
If needed, add any other context about the problem here.