Git Product home page Git Product logo

my_streamlit_app's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

my_streamlit_app's Issues

could not run on new version of streamlit locally.

I tried to run the app using the new installed streamlit. But it failed with the following errors.

C:\Users\LIUD~1.H\AppData\Local\Temp>streamlit run my_streamlit.py

  You can now view your Streamlit app in your browser.

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

2023-04-27 15:04:41.541 Uncaught app exception
Traceback (most recent call last):
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script
    exec(code, module.__dict__)
  File "my_streamlit.py", line 13, in <module>
    from streamlit.server.server import Server
ModuleNotFoundError: No module named 'streamlit.server'
2023-04-27 15:04:43.106 Uncaught app exception
Traceback (most recent call last):
  File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script
    exec(code, module.__dict__)
  File "C:\Users\Liu.D.H\AppData\Local\Temp\my_streamlit.py", line 13, in <module>
    from streamlit.server.server import Server
ModuleNotFoundError: No module named 'streamlit.server'

C:\Users\LIUD~1.H\AppData\Local\Temp>streamlit version
Streamlit, version 1.21.0

C:\Users\LIUD~1.H\AppData\Local\Temp>python -V
Python 3.11.2

C:\Users\LIUD~1.H\AppData\Local\Temp>ver

Microsoft Windows [Version 10.0.22621.1555]

C:\Users\LIUD~1.H\AppData\Local\Temp>

It seems some code need to update or the app could not run/debug locally due to use some of non-local api.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.