This looks like you’re on a Mac, and what it’s trying to do is compile something but you don’t have the developer tools installed.
Have you installed XCode on your computer? If I’m not mistaken, you can install them by running xcode-select --install or a similar command in your terminal.
I just tried on my M1 Mac Mini, and was able to generate a similar bit of errors, which appear to be due to our use of pyarrow as a dependency. The good news/bad news is that I use conda almost everywhere, and Streamlit does install properly using that:
I believe that the issue has to do something with pyarrow not supporting M1 Macs until Python 3.9; there was some error with Python 3.8, pyarrow and pip and I don’t know if the issue was unsolvable or what, and I think they just moved forward. So the interim solution is to use conda, Streamlit probably works with Python 3.9 also. So if you want to keep using venv, you could also try installing Python 3.9 first and seeing if that fixes it.
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.