S
Solaramariobuikhuizen

Which version of lab running pip install

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.
trent
trent•270d ago
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
trent
trent•270d ago
Solara is 1.19.0, and if it helps, my current environment - https://justpaste.it/b5eev
trent
trent•270d ago
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
mariobuikhuizen
mariobuikhuizen•270d ago
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")
trent
trent•270d ago
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
trent
trent•270d ago
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
mariobuikhuizen
mariobuikhuizen•270d ago
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()
trent
trent•270d ago
Well I don't know what changed, but Page() is working now haha. The plotly figure doesn't however...
No description
mariobuikhuizen
mariobuikhuizen•270d ago
Awesome! Maybe you need a refresh of the page for the plotly frontend to load
trent
trent•270d ago
I'll keep tinkering, great to know it can work! Thanks again!
mariobuikhuizen
mariobuikhuizen•270d ago
My pleasure, but you "fixed" it yourself 😉
trent
trent•270d ago
Oh wow, I was just restarting the kernel. That's exactly it, I refreshed the whole thing and it works. So awesome!
No description
mariobuikhuizen
mariobuikhuizen•270d ago
Nice!
trent
trent•270d ago
Haha thanks, back in business!
MaartenBreddels
MaartenBreddels•270d ago
good to read a story that ends well! 🙂 @mariobuikhuizen still strange this happens, i thought after import solara we check many things..
Want results from more Discord servers?
Add your server
More 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