unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: phodina via <help-guix@gnu.org>
To: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Guix Jupyter notebook
Date: Sat, 24 Apr 2021 09:33:47 +0000	[thread overview]
Message-ID: <lSQbclHn0AdB7f5-2DN0we0WJYaMaf8kiKmkG6b3U3-G1Kc4gxNEM1BE4eIPdVpUYimwzu3jHiq49QVkTMWUJd-lTIc9imhv_KiO6kfCza8=@protonmail.com> (raw)

I wanted to run a Jupyter notebook using Guix to define the inputs. However I run into an issue in python module. Could you help me with the DistributionNotFound error?

$ guix install jupyter guix-jupyter
...
$ guix describe
Generation 21	Apr 21 2021 10:14:08	(current)
  guix 13c4a37
    repository URL:
https://git.savannah.gnu.org/git/guix.git
branch: master
    commit: 13c4a377f5a2e1240790679f3d5643385b6d7635
$ jupyter notebook
Traceback (most recent call last):
  File "/gnu/store/sqml7rpr1zamp1llapd208dv2n34anh5-python-jupyter-core-4.7.1/bin/.jupyter-real", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/gnu/store/w32f5mp0x0sklmkxkm3gbidanxxj05k8-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3251, in <module>
    def _initialize_master_working_set():
  File "/gnu/store/w32f5mp0x0sklmkxkm3gbidanxxj05k8-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside
    f(*args, **kwargs)
  File "/gnu/store/w32f5mp0x0sklmkxkm3gbidanxxj05k8-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3263, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/gnu/store/w32f5mp0x0sklmkxkm3gbidanxxj05k8-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/gnu/store/w32f5mp0x0sklmkxkm3gbidanxxj05k8-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/gnu/store/w32f5mp0x0sklmkxkm3gbidanxxj05k8-python-3.8.2/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'six' distribution was not found and is required by traitlets

Kind regards

Petr Hodina

             reply	other threads:[~2021-04-24  9:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-24  9:33 phodina via [this message]
2021-04-25  6:14 ` Guix Jupyter notebook Efraim Flashner

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to='lSQbclHn0AdB7f5-2DN0we0WJYaMaf8kiKmkG6b3U3-G1Kc4gxNEM1BE4eIPdVpUYimwzu3jHiq49QVkTMWUJd-lTIc9imhv_KiO6kfCza8=@protonmail.com' \
    --to=help-guix@gnu.org \
    --cc=phodina@protonmail.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).