有没有人有一个工作IPython内核node.js?
我试过这个 ,但是不起作用。
ZeroMQ终于在OS X上安装了很多的沮丧。注意我不得不这样做:
npm install zmq
在kernel.js
文件的主目录中用require()
find它。
我不得不修改ipython_config.py
c.KernelManager.kernel_cmd = ["/usr/local/bin/node", "~/node-kernel/kernel.js", "{connection_file}"] c.Session.key = b'' c.Session.keyfile = b''
我只是从kernel.js
这一部分中得到一堆东西在屏幕上kernel.js
:
reply_socket.on('message', function(data){ for(i in arguments){ console.log("[" + i + "]: " + arguments[i].toString()); }