I\'m trying to install cl-jupyter (A common-lisp kernel for Jupyter), and I can\'t make it work: when I open a new lisp notebook (or change the kernel of an existing notebook),
This issue is caused by a change in the size of the message structure, zmq_msg_t
, in 0MQ version 4.1.x to 64 bytes from a size of 32 bytes in version 4.0.x.
The 0MQ interface library used by cl-jupyter
is pzmq
, and that library is stated to support 0MQ up to version 4.0. At the time of this writing, pzmq
uses a 0MQ message size of 32 bytes. This leads to internal errors if 0MQ version 4.1.x is installed.
There are two solutions here:
pzmq
library by updating the definition of msg%
in c-api.lisp
from 32 to 64 bytes.
Update - 9 May 2016
The pzmq
library was updated to support 0MQ version 4.1.x, (preserving compatibility with older versions). The new version of pzmq
is planned for release as part of the May 2016 Quicklisp release.
Update - 1 June 2016
The May 2016 Quicklisp release includes updates to the pzmq
library which resolve this issue. A downgrade of 0MQ or modifications to the pzmq
library are no longer necessary.