help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

interactive input using guix-jupyter-kernel


From: david larsson
Subject: interactive input using guix-jupyter-kernel
Date: Fri, 17 Jul 2020 01:27:30 +0000

Hi,

How can I ask for password input and get a password prompt in the notebook if I use the guix kernel in jupyter?

;;guix environment python-env <- python-ipython python-ipykernel
import getpass
password = getpass.getpass()

using a regular python kernel this works fine but not with guix kernel.


In the console output I get this:

guix[21400]: forwarding "execute_reply" from 21419, socket #<procedure %kernel-shell-procedure (s)> to "3834336638323162363266303430333461663738663337306539323561666263"

so Im wondering if this particular request just have no guile target code? Like a python request would perhaps terminate in code from python-qtconsole is what Im thinking.


I installed and started guix-jupyter like this:

echo "(list (channel (name 'guix) (url \"https://git.savannah.gnu.org/git/guix.git\";) (commit \"96e1866605f3e1dd94ec3aa3cd8c41af45589b64\")))" >/tmp/channels.scm guix time-machine -C /tmp/channels.scm -- package -i jupyter guix-jupyter python-jupyter-console python-qtconsole python-widgetsnbextension python-ipywidgets -p ~/guix-profiles/jupyter_guix_time_machine
GUIX_PROFILE="/tmp/jupyter_guix_time_machine"
. "$GUIX_PROFILE"/etc/profile
jupyter-notebook .


Best regards,
David




reply via email to

[Prev in Thread] Current Thread [Next in Thread]