I am trying to install streamlit on my machine using the code “pip install streamlit” in cmd and running into the following error:
Running setup.py install for MarkupSafe … error! image|690x361
I would really appreciate if someone could advise me on how to resolve this issue.
Hi @monchier ,
I am using cmd for library installation through pip. I am facing the same error. I would prefer to use Vs code as my preferable text editor. Kindly help with this issue.
That’s absolutely possible and has nothing to do with any errors during installation.
You are on Windows? Which Python version?
What is the error message?
Hi @Franky1,
I am currently working on windows. Python version 3.8.5.
After pip install streamlit there are many dependencies installed but it halts during the pyarrow installation.
A sample error msg-
Collecting pyarrow; python_version < “3.9”
Using cached pyarrow-4.0.0.tar.gz (710 kB)
Installing build dependencies … error
ERROR: Command errored out with exit status 1:
pyarrow has released today(!) the new version 4.0.0.
It seems that during the installation not the wheel but the source file .tar.gz was pulled from pypi.
Maybe the wheel file was not yet in pypi.
Just try it again with pip install pyarrow
If it still pulls the .tar.gz file, try it with pip install --no-cache-dir pyarrow
If it does not help, try it with pip install pyarrow==3.0.0
Hi @Franky1,
I am still getting error messages.
“ERROR: Could not find a version that satisfies the requirement pyarrow (from versions: 0.9.0, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.12.1, 0.13.0, 0.14.0, 0.15.1, 0.16.0, 0.17.0, 0.17.1, 1.0.0, 1.0.1, 2.0.0, 3.0.0, 4.0.0)
ERROR: No matching distribution found for pyarrow”
What would you suggest, should I write to the python community?