[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: python readline module
From: |
Ludovic Courtès |
Subject: |
Re: python readline module |
Date: |
Sun, 20 Dec 2015 23:38:09 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Federico Beffa <address@hidden> 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’.