matplotlib----ModuleNotFoundError: No module named

If you’re creating a debugging post, please include the following info:

  1. Share the link to the public app (deployed on Community Cloud).

Keep getting the ModuleNotFoundError: No module named ‘matplotlib’ despite putting matplotlib in my requirements.txt file. I’ve tried different matplotlib and streamlit

  1. Share the link to your app’s public GitHub repository (including a [requirements file]

  2. Share the full text of the error message (not a screenshot).

  3. Share the Streamlit and Python versions.
    3.11

Keep getting the ModuleNotFoundError: No module named ‘matplotlib’ despite putting matplotlib in my requirements.txt file. I’ve tried different matplotlib and streamlit versions

:point_up:

matplotlib==3.7.1
numerize==0.12
numpy==1.23.5
oauthlib==3.2.2
openpyxl==3.1.2
opt-einsum==3.3.0
packaging==23.1
pandas==2.0.1
pandas-profiling==3.2.0
streamlit==1.22.0
streamlit-apexjs==0.0.3
streamlit-card==0.0.4
streamlit-elements==0.1.0
streamlit-option-menu==0.3.2
streamlit-pandas-profiling==0.1.3
plotly==5.14.1
plotly-express==0.4.1
seaborn==0.12.2
pandas-profiling==3.2.0

LOGS:

Where’s the link?

Hey Siddhant Sadangi,
I keep getting this error message whenever I want to post the link
An error occurred: Sorry you cannot post a link to that host.

Hey Siddhant Sadangi, |
|
|
|

  • | - | - | - |

Any luck?

Your file is named requirements without the .txt extension. It should be requirements.txt :slight_smile:

Sorry my bad, it is now working as expected.

Thank you sir

1 Like