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