Without session state functioning?

Hi, pycharm warns me that “Session state does not function when running a script without streamlit run” when i run the project, but i have no plan to use it. Can it be solved?

Hi @xy1204655650

If you want to use Streamlit in your script, you’ll need to make sure that you’re running it using the streamlit run command.

You can do this by running the following command in your terminal or command prompt:

streamlit run my_script.py

Are you attempting to run Streamlit in any other way(s)?

Best wishes,
Charly

Got it. Thanks for your reply!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.