I tried this on the latest beta (Sage 9.5.beta7) with few more tickets merged:
1) start sage-sh, i.e. ./sage -sh
2) (sage-sh) dima@hilbert:sage-dev$ pip install jupyterlab
3) (sage-sh) dima@hilbert:sage-dev$ pip freeze | grep jupyterlab
jupyter-server==1.12.1
jupyterlab==3.2.4
jupyterlab-pygments @
file:///mnt/opt/Sage/sage-dev/local/var/lib/sage/venv-python3.9/var/tmp/sage/build/jupyterlab_pygments-0.1.2/inst/mnt/opt/Sage/sage-dev/local/var/lib/sage/venv-python3.9/var/lib/sage/wheels/jupyterlab_pygments-0.1.2-py2.py3-none-any.whl
jupyterlab-server==2.8.2
4) quit the subshell
5) ./sage -n jupyterlab # (works)


On Sat, Dec 4, 2021 at 5:26 AM Rogerio <rogerio....@gmail.com> wrote:
>
> When I was using sagemath 9.3 I upgraded the jupyterlab version to 3.x and it 
> was working fine. When I changed to sagemath 9.4, the  jupyterlab version was 
> downgraded to 2.2.10. Then I tried to upgrade with
>
> `sage -pip install --upgrade jupyterlab`
>
> At the end it displayed
>
> Installing collected packages: jupyterlab-server, jupyterlab
>   Attempting uninstall: jupyterlab-server
>     Found existing installation: jupyterlab-server 1.2.0
>     Uninstalling jupyterlab-server-1.2.0:
>       Successfully uninstalled jupyterlab-server-1.2.0
>   Attempting uninstall: jupyterlab
>     Found existing installation: jupyterlab 2.2.10
>     Uninstalling jupyterlab-2.2.10:
>       Successfully uninstalled jupyterlab-2.2.10
> Successfully installed jupyterlab-3.2.4 jupyterlab-server-2.8.2
>
> However, when I type
>
> `sage -n jupyterlab`
>
> It shows
>
> Jupyterlab is not installed (at least not in this Sage installation).
> You can install it by running
>   sage -i jupyterlab_widgets
> which includes support for interacts and the ability to download and
> install other Jupyterlab extensions. For a minimal installation, run
>   sage -i jupyterlab
>
>
> Trying again `sage -i jupyterlab_widgets` I found in the middle of the log 
> message
>
>
> [jupyterlab] Installing collected packages: jupyterlab-server, jupyterlab
> [jupyterlab]   Attempting uninstall: jupyterlab-server
> [jupyterlab]     Found existing installation: jupyterlab-server 2.8.2
> [jupyterlab]     Uninstalling jupyterlab-server-2.8.2:
> [jupyterlab]       Successfully uninstalled jupyterlab-server-2.8.2
> [jupyterlab]   Attempting uninstall: jupyterlab
> [jupyterlab]     Found existing installation: jupyterlab 3.2.4
> [jupyterlab]     Uninstalling jupyterlab-3.2.4:
> [jupyterlab]       Successfully uninstalled jupyterlab-3.2.4
> [jupyterlab] ERROR: pip's dependency resolver does not currently take into 
> account all the packages that are installed. This behaviour is the source of 
> the following dependency conflicts.
>
>
> And the jupyterlab version is again back to 2.2.10.
>
> How to upgrade it?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/6031579a-42a2-4cf0-b798-f6da8d35acdfn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq0tEC4UeRsUnA6rXvybwPzHHyRDUh6nmDsjeEZetQFh0A%40mail.gmail.com.

Reply via email to