BTW, Thank you ! It’s solved <3 And , one need to do this:
streamlit run filename.py (streamlit run filename won’t work)
BTW, Thank you ! It’s solved <3 And , one need to do this:
streamlit run filename.py (streamlit run filename won’t work)
Hello, I am having same problems but on a Mac, Darwin and using Python 3.9 and in a venv where streamlit was installed using pip from PyPi in the terminal.
The command in the terminal python -m http.server 8000
worked for me and opens up a list directory of files in my Streamlit folder. From here I click on the file to see it but streamlit hello in the browser only shows google searches.
I also ran pip install --upgrade protobuf
but this still fails to work on Opera and Chrome. Browser blockers are disabled.
Hi @PythonUnicorn, welcome to the Streamlit community!
It’s not expected that running python -m http.server 8000
will work, as Streamlit isn’t a static site generator. Streamlit runs using a Tornado server, which is activated using streamlit run app.py
from a terminal. Streamlit Hello works in the same way, from a terminal in your venv you can type streamlit hello
to see the demo.
As far as the protobuf
install failing, I haven’t heard about this as an issue. I’ll ask internally to see if there is someone with a Mac who has any idea about this.
Best,
Randy
Hi @randyzwitch
The protobuf issue is known on GitHub protobuf issue and I uninstalled protobuf and reinstalled it, but again nothing is working as it should.
using Mac Big Sur v11.2.2.
the error message from terminal:
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.
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.
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.
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.