Jupyter and Common Lisp

后端 未结 1 2005
礼貌的吻别
礼貌的吻别 2021-02-15 07:09

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),

相关标签:
1条回答
  • 2021-02-15 07:54

    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:

    1. Downgrade the 0MQ installation to version 4.0.x
    2. Fix the 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.

    0 讨论(0)
提交回复
热议问题