Skip to content

streamlit run failed #76

@Aliang-code

Description

@Aliang-code
$ python -m streamlit run test/streamlit.py

  You can now view your Streamlit app in your browser.

  Local URL: http://localhost:8501
  Network URL: http://192.168.1.150:8501

2025-06-28 23:09:49.979 Uncaught app execution
Traceback (most recent call last):
  File "D:\Program Files\Python313\Lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 128, in exec_func_with_error_handling
    result = func()
  File "D:\Program Files\Python313\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 669, in code_to_exec
    exec(code, module.__dict__)  # noqa: S102
    ~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Aliang\voicefixer\test\streamlit.py", line 12, in <module>
    @st.experimental_singleton
     ^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'streamlit' has no attribute 'experimental_singleton'. Did you mean: 'experimental_dialog'?
2025-06-28 23:09:49.979 Uncaught app execution
Traceback (most recent call last):
  File "D:\Program Files\Python313\Lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 128, in exec_func_with_error_handling
    result = func()
  File "D:\Program Files\Python313\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 669, in code_to_exec
    exec(code, module.__dict__)  # noqa: S102
    ~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Aliang\voicefixer\test\streamlit.py", line 12, in <module>
    @st.experimental_singleton
     ^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'streamlit' has no attribute 'experimental_singleton'. Did you mean: 'experimental_dialog'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions