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?
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.