rmculpepper / iracket

Jupyter kernel for Racket
BSD 3-Clause "New" or "Revised" License
95 stars 14 forks source link

Jupyter notebook app failed to restart KernelRestarter #19

Open AllenCheng5186 opened 1 year ago

AllenCheng5186 commented 1 year ago

I've installed the zeromq and iracket packages on my Mac. But when I run the jupyter server, the jupyter notebook app fails to start and connect the KernelRestarter. I think it is because something goes wrong with zeromq. Please see the log attached. Could u tell me how to fix it? Thank you for your help in advance.

[NotebookApp] Kernel started: c**9, name: racket Kernel starting. zmq-socket: could not find libzmq library error: "ffi-lib: could not load foreign library\n path: libzmq.5.dylib\n system error: dlopen(libzmq.5.dylib, 0x0006): tried: 'libzmq.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibzmq.5.dylib' (no such file), '/usr/lib/libzmq.5.dylib' (no such file, not in dyld cache), 'libzmq.5.dylib' (no such file), '/usr/lib/libzmq.5.dylib' (no such file, not in dyld cache)" context...: /Applications/Racket/collects/racket/contract/private/arrow-val-first.rkt:555:3 /Users/Username/Library/Racket/8.7/pkgs/iracket/private/jupyter.rkt:324:2: serve /Users/Username/Library/Racket/8.7/pkgs/iracket/private/jupyter.rkt:321:0: call-with-services /Users/Username/Library/Racket/8.7/pkgs/iracket/iracket.rkt:12:0: start-kernel body of (submod "/Users/Username/Library/Racket/8.7/pkgs/iracket/iracket.rkt" main)