S
Solara

general

Which version of lab running pip install

Mmariobuikhuizen8/19/2023
Which version of lab? running !pip install will install it in the kernel environment, if the lab server is is in a different environment, it still not installed there if you're in the scenario of different environments for server and kernel.
Ttrent8/22/2023
Thanks for the help @mariobuikhuizen . Running JupyterLab 3.2.8. It loads the solara package fine, so I'm not getting the impression it's an kernel environment thing...
No description
Ttrent8/22/2023
Solara is 1.19.0, and if it helps, my current environment - https://justpaste.it/b5eev
Ttrent8/22/2023
Ok, pretty sure it's due to IPv6 being disabled. I'm working in a container that's set up with my employer, so I'll have to work with them on it. Thanks again for the help!
No description
Mmariobuikhuizen8/22/2023
So, the jupyter server runs in a different environment? You can also use this snippet as a minimal test. This has the least other stuff that can go wrong:
import ipywidgets
ipywidgets.Button(description="hello")
import ipywidgets
ipywidgets.Button(description="hello")
Ttrent8/22/2023
Well that worked! I'm not sure where the jupyter server is running now that I actually think about it - I know the service we use provides me a ubuntu docker container that provides access to the terminal, jupyterlab, and vs code. I also know I cannot enable IPv6 from within the container.
No description
Ttrent8/22/2023
We have a team meeting on thursday where I'm going to bring all this up, solara would be pretty sweet to get working on the core here Wouldn't have to figure out how to host streamlit or rshiny (or solara) apps, just run solara in the notebooks and be all set
Mmariobuikhuizen8/22/2023
Can still be ipywidgets is installed in the environment the jupyter-server runs in Does this run?: import plotly.express as px fig = px.scatter(x=[0, 1, 2, 3, 4], y=[0, 1, 4, 9, 16]) fig.show()
Ttrent8/22/2023
Well I don't know what changed, but Page() is working now haha. The plotly figure doesn't however...
No description
Mmariobuikhuizen8/22/2023
Awesome! Maybe you need a refresh of the page for the plotly frontend to load
Ttrent8/22/2023
I'll keep tinkering, great to know it can work! Thanks again!
Mmariobuikhuizen8/22/2023
My pleasure, but you "fixed" it yourself 😉
Ttrent8/22/2023
Oh wow, I was just restarting the kernel. That's exactly it, I refreshed the whole thing and it works. So awesome!
No description
Mmariobuikhuizen8/22/2023
Nice!
Ttrent8/22/2023
Haha thanks, back in business!
MMaartenBreddels8/22/2023
good to read a story that ends well! 🙂 @mariobuikhuizen still strange this happens, i thought after import solara we check many things..

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
Thanks how could I programatically setThanks ! how could I programatically set theme from Python side ?it seems to be functional not sure Iit seems to be functional. not sure I understand the downside of my current approach. but fixing any3 what s the best way to implement `push3. what's the best way to implement `push notification` ? is it something like this ? and is it run 2 when I create a module level reactive2. when I create a module level reactive var like `x = solara.reactive(None)`, is it application widcouple of questions around sessioncouple of questions around session management: 1. I found Solara manages session via cookie which isI m not sure what you mean but changingI'm not exactly sure what you mean, but changing the value from the backend would look something likhey solara team looking into statehey solara team looking into state documentation. It seems solara.reactive is session based as in ifhope to know when we will get this fixedhope to know when we will get this fixed. I am developing some demo with Solara and don't want to seThe timer thread is an infinte loop ThatThe timer thread is an infinte loop. That's the only loop I know of. And the timer isn't a problem I m trying to run Solara as Embedding inI'm trying to run Solara as "Embedding in an existing Starlette application" and when I go to `/solaAren't all these the responsibility of the browser to fetch stuff from the CDN?Good afternoon! Can Solara run on a read-only file system? I tried running it on AWS Lambda and it cwhat did you use for thatwhat did you use for that?btw working with Layout and routes was abtw, working with Layout and routes was a pain in my case. One problem was it didn't use the LayoQuestion regarding the `component vue` IQuestion regarding the `component_vue` - I'm trying to create a Box component that will auto scroHi I’ve been trying to add backgroundHi. I’ve been trying to add background image to my page. I created a CSS.py script which contain a tAnother question I m trying to attachAnother question, I'm trying to attach `keydown` listener to TextArea (so that I can submit when "EnI m using IntelliJI'm using IntelliJ`````` from typing import List, cast import plotly import solara df = plotly.data.gapminder() columnNo error populates to python itself butNo error populates to python itself, but I get a bunch in console. I ran into a similar issue when tDeploy beta testersPretty quiet this week on core solara this week, but @mariobuikhuizen and I have been working on a w