AttributeError: module 'matplotlib' has no attribute 'use'

Hi folks, I’m new to Streamlit. I just installed streamlit using the pip command provided in docs (Windows 64bit, Anaconda prompt).
When I try to run ‘streamlit hello’, I encounter the following error:

I checked ‘conda list’ and see the I have Matplotlib 3.2.2 installed.
Please advice what I need to do to resolve this issue.
Thanks in advance

Hi @shashankbl, welcome to the community!

Could you try again, this time in a fresh new conda environment? You can follow the Streamlit guide for this.


1 Like

Thank you. I was able to get it to run the available demos. Excited to create my own demos next :nerd_face:

1 Like