Error installing Streamlit

I am trying to install streamlit on my machine using the code “pip install streamlit” in cmd and running into the following error:
Running install for MarkupSafe … error!

I would really appreciate if someone could advise me on how to resolve this issue.

Thank you in advance!

Hi @jaydesai30,
Are you installing on Windows? We suggest using Anaconda Navigator as highlighted in this post: Streamlit on windows