-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install sos in an environment #66
Comments
Unfortunately, as reported by #65 as well, we do not yet support JupyterLab 4.x because it has some breaking API change that I currently do not have time to investigate. The only way to proceed is to use JupyterLab 3.x, which we have been using in a JupyterHub environment successfully. I will see if I can have another look at JupyterLab 4.x this weekend. |
My real question should have been. Can I install sos in a conda environment under jupytehub. I have tried several ways but it never seems to work. I can see it in the notebook but not the lab. Do you have an example conda environment I can use to test the install? Thanks |
I may have to consult our admin for this but as far as I remember, he installed jupyterhub using a conda environment, and then I used |
JLab 4.x is now (partially) supported. |
@BoPeng... thanks for the update. I'm trying my best to install SoS. It's not happening anymore. I have spent hours trying to install this on windows, linux, using both conda and pip methods. I cannot get any working environments. Would you happen to have a working environment you could share? Regards, |
Please be more specific about what you have done, which versions of packages you have installed so that I can better assist you. But in general,
If things do not work, send me the output of
|
Bo… thanks for getting back to me.. Here is my output. Please take a look and let me know if you see anything. I have tried this across several os.
(jlab) root@093caf6696ac:/# pip list | grep jupyter
jupyter_client 8.3.1
jupyter_core 5.3.2
jupyter-events 0.7.0
jupyter-lsp 2.2.0
jupyter_server 2.7.3
jupyter_server_terminals 0.4.4
jupyterlab 4.0.6
jupyterlab-pygments 0.2.2
jupyterlab_server 2.25.0
jupyterlab_sos 0.10.0
(jlab) root@093caf6696ac:/# pip list | grep sos
jupyterlab_sos 0.10.0
sos 0.24.3
sos-notebook 0.24.4
sos-python 0.20.0
(jlab) root@093caf6696ac:/# jupyter kernelspec list
Available kernels:
python3 /opt/conda/envs/jlab/share/jupyter/kernels/python3
sos /usr/local/share/jupyter/kernels/sos
(jlab) root@093caf6696ac:/# jupyter labextension list
JupyterLab v4.0.6
/opt/conda/envs/jlab/share/jupyter/labextensions
jupyterlab_pygments v0.2.2 enabled X (python, jupyterlab_pygments)
jupyterlab-sos v0.8.9 enabled OK (python, jupyterlab_sos)
transient-display-data v0.4.4 enabled OK (python, transient-display-data)
@jupyter-notebook/lab-extension v7.0.4 enabled OK
The following extensions are outdated:
jupyterlab_pygments
Consider checking if an update is available for these packages.
Here is a snapshot of what Im seeing when I use the %get from python. I hope I’m not missing something but the dependencies never seems to work out.
![image](https://github.com/vatlab/jupyterlab-sos/assets/93828723/8017c489-439e-446f-8f68-fbcc16f995a5)
Thanks for the help,
|
First the version of |
Bo... I tried the docker image and the same thing is happening. See the included image. This is from a fresh build of the docker image on Linux. You can see that the python kernel is not able to '%get' but in the next cell you can see that R works fine. I have this issue no matter the OS or install method. |
Bo... I have tried this everywhere today, aws, linux, docker, no docker, and windows (I don't have a mac...). All of the kernels I have installed work but python. Any chance you might ask someone to run this on a linux or windows box to verify what I'm seeing or even try the sos docker image. Thanks for all your help here, I really like SoS and wanted to start up again but I'm stuck.... |
Thank you for your patience. There are many moving pieces with jupyter and sos-notebook but I can now reproduce the problem with the official docker image. Let me check what is going on. |
This turns out to be an issue of |
YES!!!! That was a tough one. Thank you for sticking with me here. The python integration is working now on windows and linux... |
Is there a way to install sos in a conda environment. I'm trying to install sos and elyra at the same time and it never works. I'm wondering if there is a way to install sos in an env. If I do get it to install right now... which happens occasionally depending on order of the installation I do not see the sos drop down combo box. I'm assuming this is jupyterlab 4.x related. I rolled the install back to 3.6.x but I never seems to install into the base environment correctly. Lastly, I'm building jupyterhub (not just lab).
The text was updated successfully, but these errors were encountered: