Hi everyone!
I’m having this error when installing my pipenv:
ImportError: The ‘pyparsing’ package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
This is likely caused by a bug in streamlit. Report this to its maintainers.
✘ Installation Failed
I tried reinstalling it but that didn’t help. I just upgrade to Python 3.9.1 a couple of days ago. Do you have any idea what could be causing the error. What can I do to solve this?
Thanks for your help
Hey @OmarGalvez,
Firstly, Welcome to the Streamlit Community!

Can you answer these couple of questions:
Are you trying to install Streamlit in your pip environment and your getting this error?
Can you screen shot your terminal output for me?
Thanks!
Marisa
Screenshots from the beginning till the end.
Thanks for your time!
Hey @OmarGalvez,
Apologies for the delay! I have the team looking into this. There seems to be some issue with the pydeck install because pyparsing (a dependancy for pydeck) is not installing properly.
The team is looking at options, but in the meantime we believe that if you install pyparsing by hand and then retry installing streamlit that should fix your error!
# install pyparsing by hand in your virtual env.
$ pip install pyparsing
# retry your streamlit install
$ pip install streamlit
Let me know if this works for you!
Marisa
Hi Marisa!
Thanks again for your time.
It was an adventure but finally Streamlit is running
. First I tried to install pyparsing globally and install streamlit in the shell. I didn’t work, I had the same error message: “ImportError: The ‘pyparsing’ package is required;”. So, I was about to run brew postinstall python, but then I saw your email and I followed your instructions and I run pyparsing in the shell project and once again I had another error due to setuptools “ModuleNotFoundError: No module named ‘setuptools.command.py36compat’”. Then I run pip install setuptools globally, but requirement it was already instaled, so I get back to shell environment and I run pipenv install setuptools and that did the trick! Anyway, I have a recommendation:
" For better performance, install the Watchdog module:
$ xcode-select --install
$ pip install watchdog
"
What should i do? I just update Xcode last week. What do you recommend? Should I install watchdog globally?
Best Regards




Hey @OmarGalvez!
I’m glad you got it working!

I’m actually going to take this back to our engineers because I would like to get their feedback on this.
I would have expected that watchdog would have installed with the Streamlit install as we run watchdog in the background to check for changes in your script (so it can auto update your app as soon as you make changes without having to relaunch)
I will get back to you when I have more answers. 
Cheers,
Marisa
Awesome!
Can’t wait to use Streamlit in production, meanwhile I will check the documentation.
Looking forward to hear some good news.
And once again thanks for your help!
Have a nice weekend!
Hey @OmarGalvez,
I have some answers for you! So it turns out that on a Mac OS we don’t automatically install Watchdog because it depends on the user having Xcode.
If you don’t already have Xcode prior to trying to install, then the entire installation will fail! And we don’t want that to happen cause it can be such a headache when things don’t “just work” as they said it would!
It is up to you if you would like to install Watchdog. I personally would recommend (i have it installed on mine) for exactly the reason it says, it will improve your apps performance!
Hope this is helpful!
Happy Streamlit-ing!
Marisa
Hi Marissa! sorry for the late answer. I just had a week break 
Heads up about my problem with Streamlit. I noticed that its only when I used it with pipenv, but when I running Streamlit globally I have no errors no warnings with setup.py
And yes, now I’m installing Watchdog in every project I’m working with, but as same as strange it was that the first 3 times I used Strealit it never recommended. The recommendation start happening after I updated python… strange indeed
Have a nice day
1 Like