有人试过使用 pycharm 里面的 IPython notebook 吗?我怎么运行是无返回。

2015-09-29 13:15:01 +08:00
 qwjhb
[I 13:13:32.292 NotebookApp] Serving notebooks from local directory: C:\Users\寒波\PycharmProjects\datelearn
[I 13:13:32.292 NotebookApp] 0 active kernels
[I 13:13:32.292 NotebookApp] The IPython Notebook is running at: http://127.0.0.1:8888/
[I 13:13:32.292 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 13:13:33.906 NotebookApp] 404 GET /api (127.0.0.1) 55.34ms referer=None
[I 13:13:33.944 NotebookApp] Kernel started: 9131e688-72c0-42c9-8deb-440896ba5bdb
[W 13:13:33.979 NotebookApp] 404 GET /api/kernels/9131e688-72c0-42c9-8deb-440896ba5bdb/iopub (127.0.0.1) 2.00ms referer=None
[W 13:13:33.983 NotebookApp] 404 GET /api/kernels/9131e688-72c0-42c9-8deb-440896ba5bdb/shell (127.0.0.1) 3.00ms referer=None

然后我再去从浏览器运行 看到 running 里面是空的 好奇怪
4277 次点击
所在节点    Python
3 条回复
staticor
2015-09-29 14:57:09 +08:00
在下面的 console 应该能看到 IPython 的 In-Out
qwjhb
2015-09-29 16:33:10 +08:00
@staticor 我贴的就是它在 console 里显示的信息, google 了一圈只找到和遇到和我一样问题的,楞是没找到解决方法。
qwjhb
2015-09-29 21:26:42 +08:00
ok 解决了 估计是 pycharm 4.5.4 不支持换了 api 的 ipython4 回滚到 3.2.2 就可以了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/224487

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX