From: ludo@gnu.org (Ludovic Courtès)
To: Federico Beffa <beffa@ieee.org>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: python readline module
Date: Sun, 20 Dec 2015 23:38:09 +0100 [thread overview]
Message-ID: <87vb7srbji.fsf@gnu.org> (raw)
In-Reply-To: <CAKrPhPOzxoc-=52nzTQ1D5szJgtS=KZdOvXF2b+WM-6mrsU05Q@mail.gmail.com> (Federico Beffa's message of "Sun, 20 Dec 2015 18:22:39 +0100")
Federico Beffa <beffa@ieee.org> skribis:
> it appears that our 'python' package, despite having 'readline' among
> its inputs, can't use it:
It Works for Me:
--8<---------------cut here---------------start------------->8---
$ guix environment --container --ad-hoc python -- python3
substitute: updating list of substitutes from 'http://hydra.gnu.org'... 100.0%
La jenaj derivoj estos elŝutataj:
/gnu/store/13n8xbi9wv9pigfyhir007qadr81jq46-python-3.4.3
/gnu/store/s8icyyyqb6f82krh95y4kzlgv32vwshb-python-3.4.3-tk
Found valid signature for /gnu/store/s8icyyyqb6f82krh95y4kzlgv32vwshb-python-3.4.3-tk
From http://hydra.gnu.org/nar/s8icyyyqb6f82krh95y4kzlgv32vwshb-python-3.4.3-tk
Downloading s8icyy…-python-3.4.3-tk (71KiB installed)...
http://hydra.gnu.org/nar/s8icyyyqb6f82krh95y4kzlgv32vwshb-python-3.4.3-tk 156KiB/s 00:00 | 25KiB transferred
Python 3.4.3 (default, Jan 1 1970, 00:00:01)
[GCC 4.9.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import readline
>>>
Error in atexit._run_exitfuncs:
FileNotFoundError: [Errno 2] No such file or directory
$ guix environment --container --ad-hoc python-2 -- python
Python 2.7.10 (default, Jan 1 1970, 00:00:01)
[GCC 4.9.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import readline
>>>
--8<---------------cut here---------------end--------------->8---
Could it be that something in the environment is interfering? Maybe
PYTHONPATH pointing to an incompatible readline.so?
Ludo’.
next prev parent reply other threads:[~2015-12-20 22:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-20 17:22 python readline module Federico Beffa
2015-12-20 22:38 ` Ludovic Courtès [this message]
2015-12-21 9:12 ` Federico Beffa
2015-12-21 10:51 ` Two packages are called ‘python-wrapper’ Ludovic Courtès
2015-12-21 11:09 ` Federico Beffa
2015-12-21 13:28 ` Ludovic Courtès
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=87vb7srbji.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=beffa@ieee.org \
--cc=guix-devel@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.