Github messages for voidlinux
 help / color / mirror / Atom feed
From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Sagemath jupyter notebook not working
Date: Tue, 17 Oct 2023 13:10:17 +0200	[thread overview]
Message-ID: <20231017111017.Jx5-lTCTJkF8AJ7hqPkyOZzP3Xszmt2Zx3y8IMrZiOc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46261@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/issues/46261#issuecomment-1766194368

Comment:
> ```
> $ jupyter lab
> Traceback (most recent call last):
>   File "/usr/bin/jupyter-lab", line 5, in <module>
>     from jupyterlab.labapp import main
> ModuleNotFoundError: No module named 'jupyterlab'
> ```
> 
> I have `jupyterlab` installed.

This doesn't make sense, since `/usr/bin/jupyter-lab` and `/usr/lib/python3.12/site-packages/jupyterlab/labapp.py` are both in the same package `jupyterlab`. Do you have all those files?

Unless you are messing with virtual envs, pip, pipx, `PYTHONPATH`, etc.

Maybe try removing everything and reinstalling.

For the time being `sage -n jupyter` doesn't work, but it should be the same as running `jupyter notebook` or `jupyter lab`.

In case this is leftover stuff from a local build, try `xpkg -L` to show if you have packages installed locally  (e.g. maybe you have `jupyterlab` built for python 3.11). Use `xi -f` to force install packages so you get the versions from the void repos.

  parent reply	other threads:[~2023-10-17 11:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-26  7:28 [ISSUE] " Eloitor
2023-09-26 17:46 ` dkwo
2023-10-05 12:02 ` Eloitor
2023-10-10 17:38 ` dkwo
2023-10-10 21:48 ` Eloitor
2023-10-11 14:55 ` dkwo
2023-10-16 22:19 ` Eloitor
2023-10-16 22:27 ` Eloitor
2023-10-17 11:10 ` tornaria [this message]
2023-10-17 20:25 ` Eloitor
2023-10-17 20:25 ` [ISSUE] [CLOSED] " Eloitor
2024-01-07  9:10 ` narodnik
2024-01-07 13:06 ` tornaria
2024-01-07 13:07 ` tornaria

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231017111017.Jx5-lTCTJkF8AJ7hqPkyOZzP3Xszmt2Zx3y8IMrZiOc@z \
    --to=tornaria@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).