[英]IPython in Emacs on Windows, no prompt appears
I want to use IPython in Emacs 24.4 on Windows 8.1. 我想在Windows 8.1的Emacs 24.4中使用IPython。 In order to do this, I use elpy in my .emacs file, and have included commands to launch IPython when I execute code in Emacs. 为此,我在.emacs文件中使用了elpy,并包含了在Emacs中执行代码时启动IPython的命令。 My problem is similar to the one listed here with a few caveats: 我的问题类似于此处列出的问题 ,但有几点警告:
It's very possible that there is an answer out there and I simply don't know the terminology to find it, so any advice would be very much appreciated! 很可能有一个答案,而我只是不知道找到它的术语,因此任何建议将不胜感激!
Try putting this in your .emacs file: 尝试将其放入您的.emacs文件:
(package-initialize)
(elpy-enable)
(elpy-use-ipython)
(setq elpy-rpc-backend "jedi")
(setq python-shell-interpreter "C:\\python27\\python.exe"
python-shell-interpreter-args
"-i C:\\python27\\Scripts\\ipython-script.py console --pylab=qt")
I had the exact problem you're refering to, and the problem seems to be that ipython demands a bit of tweaking for windows (the three last lines above), and elpy seems to override these. 我遇到了您要提到的确切问题,问题似乎是ipython需要对Windows进行一些调整(上面的最后三行),而elpy似乎覆盖了这些。
Hope this helps. 希望这可以帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.