ModuleNotFoundError: No module named 'matplotlib' despite putting in requirement.txt

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

Hi @Dapo_Adegbile :wave:

Here are a few things you can check:

  • Have you included matplotlib in the requirements.txt file?
  • Have you named the requirements.txt file properly?
  • Have you saved the requirements.txt file and uploaded it to the root folder of your GitHub repo?

Thanks,
Charly