我是 macOS Sierra 10.12.3 上使用 Homebrew 的 Ruby。我用 pip install 安装了 jupyter,用 gem install 安装了 iruby
当我运行iruby notebook
服务器时,服务器启动正常,但在创建新笔记本时,内核总是被以下日志杀死。
/usr/local/lib/ruby/gems/2.4.0/gems/iruby-0.2.9/lib/iruby/kernel.rb:18:in `initialize': uninitialized constant IRuby::Kernel::Session (NameError)
from /usr/local/lib/ruby/gems/2.4.0/gems/iruby-0.2.9/lib/iruby/command.rb:70:in `new'
from /usr/local/lib/ruby/gems/2.4.0/gems/iruby-0.2.9/lib/iruby/command.rb:70:in `run_kernel'
from /usr/local/lib/ruby/gems/2.4.0/gems/iruby-0.2.9/lib/iruby/command.rb:34:in `run'
from /usr/local/lib/ruby/gems/2.4.0/gems/iruby-0.2.9/bin/iruby:5:in `<top (required)>'
from /usr/local/bin/iruby:22:in `load'
from /usr/local/bin/iruby:22:in `<main>'
我见过其他问题,但错误信息有所不同。