<streamlit.DeltaGenerator.DeltaGenerator at 0x2353eb79508> only this is showing when st.write(âsome textâ) is runing on jupyterlab. Why? How to solve this, also other code donât show nothing (even in venv on terminal ). I am using w10, anaconda3, jupyterâŠthanks in advance for consult me! Isaco
Hi @isaco,
Streamlit was intended to replace Jupyter Notebooks, not to work inside them, as such we donât have official support for this.
However please see this thread on using Jupyterhub + Streamlit.
Does this help resolve your issue?
wait, seriously? I thought it was more to âsupplementâ than âreplace.â
interesting. I havenât been looking at streamlit as a go-to to start development/exploration.
âReplaceâ might not be the right word here, but Streamlit isnât designed to work with Jupyter, since we have slightly different goals. Jupyter is a great project, but weâre trying to focus on the user-interface/application end goal of a project. So running inside of Jupyter doesnât really make sense, as youâd be running a webserver (Streamlit) from a different webserver (Jupyter) to display Streamlit things (web content) inside a different web environment (Jupyter).
That some people 100% use Jupyter as an IDE as well does complicate the messaging, unfortunately.
Hi Randy,
thank you for your information, now Stremlit is working OK, just you said, I run it from Command Prompt !
Best regards,
Isaco
V V Äet., 16. jul. 2020 ob 15:28 je oseba Randy Zwitch via Streamlit <streamlit@discoursemail.com> napisala:
yeah I understand that. However, in my particular use case, jupyterhub is providing managed and secured access to supercomputing resources. So, particularly for the use case of rapid ML prototyping on systems (without root access for users), having the JLab IDE lets one basically develop and iterate on the server, and I canât tell you how much time Iâve spent with widgets building something that might resemble what streamlit enables.
When a slider is going to kick off a lot of FLOPS, I would argue that yes thereâs some interest in having JLab tabs be able to show a streamlit app that is being used for development, and as far as I can tell, Iâm able to proxy any webserver from within a running instance of jupyter (like, I can run RStudio from within it).
I managed to get it working during the presentation I saw on streamlit (after which I made that post linked to by @Jonathan_Rhone), with the main barrier being CORS (since I had already figured out proxying for RStudio). Since then, it appears that xrsf security needs to be disabled as well.
Sure. I was just trying to highlight that âworking with Jupyterâ is a bit hard to define, because there are several different pieces.
We donât make any effort to support the notebook cell model. But if you use Jupyterlab with the Python script functionality and the terminal, then it would (should?) work the way a normal terminal and text editor would. Something like this
So thatâs why its tough to say we âsupportâ Jupyter, because it depends on how people are trying to run things.
yup thatâs about what I was envisioning. I donât think thereâs anything preventing that, and I updated the instructions on my previous post if anyoneâs trying to get that + another tab with live-reloading streamlit app.
such a dreamy dev env
more than enough to say you support âjupyterâ lol but I do catch your drift. Itâs not the intended flow per say