Ability to set page title, favicon, sidebar state, and wide mode via st.beta_set_page_config(). See our documentation for details.
Add stateful behaviors through the use of query parameters with st.experimental_set_query_params and st.experimental_get_query_params. Thanks @zhaoooyue!
Improved pandas dataframe support for st.radio, st.selectbox, and st.multiselect.
Break out of your Streamlit app with st.stop.
Inline SVG support for st.image.
Callouts:
Deprecation Warning: The st.image parameter format has been renamed to output_format.
For a demo of these features, check out this tutorial:
However upgrading to this version has somehow created a bug related to the session state gist.
I run into
RuntimeError(
"Oh noes. Couldn't get your Streamlit Session object"
"Are you doing something fancy with threads?"
)
because the check s.enqueue == ctx.enqueue
fails. Removing that check works for now, but I imagine it is there for a reason for the check
In addition, I get the same bug even though I upgraded to 0.65.1. It seems to happen sometimes whenever I interact with the session_state object from above.
Please let me know if I can do anything to help debugging…
Thanks @PeterT, we have another fix we’re running through the ringer now but if you’re able to share, would love to run your code through this new fix.
PS: I’m not a streamlit developer, but I’ve been using this method before and after 0.65 update without any issue with my session state implementation.
I tried pip install --upgrade streamlit and I get this massive wall of red
These seem to be the issues:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
This is the type of download you tend to do once, and it’s generally applicable to the entire Python scientific ecosystem. The issue is most likely that Apache Arrow requires some compilation steps, which also includes compiling numpy.
Do you know why this might be coming up all of a sudden?
So I installed build tools and now I get this error:
RuntimeError: Not supported on 32-bit Windows
----------------------------------------
ERROR: Failed building wheel for pyarrow
Failed to build pyarrow
ERROR: Could not build wheels for pyarrow which use PEP 517 and cannot be installed directly
Everything was working fine before. Is there anything I might have overlooked?
It looks like Apache Arrow, which became a dependency in Streamlit 0.63, is not supported with 32-bit Windows. Are you intentionally using 32-bit Windows, or do you have an installation mistake where your Python is 32-bit on a 64-bit system?
Oh okay that makes sense, I’m currently using streamlit 0.62.1 so that’s why I wasn’t running into these issues till now.
According to device specs, my system is indeed 64 bit:
However, I had issues with jupyter in conda (64 bit) where it always shows a kernel error and never works. After trying everything fix I could find, it finally worked when I installed the 32 bit version of conda.
And I’m not sure if this is relevant but before conda, python auto downloaded the 32 bit version as well.
Edit: I am a fool lol. There was a bunch of 32 bit app data from older python install before I used conda and after deleting them now everything is fine
Welcome @DAN_DIGNITY. Can you confirm what version of streamlit your app is running on? You can find out by running streamlit version or in your app, see the About available as the last option in the hamburger menu on the top right.
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.