无法在spyder中获得ipython控制台

无法在spyder中获得ipython控制台

本文介绍了无法在spyder中获得ipython控制台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我在Spyder中遇到 ipython 控制台时遇到问题。它只在interpreters菜单下提供了一个 python 解释器。I'm having trouble getting an ipython console in Spyder. It only offers a python interpreter under the "interpreters" menu.我在Stackoverflow中看到过这个问题,但是对提供的解决方案没有太大的乐趣。I've seen this issue for a couple of others in Stackoverflow, but didn't have much joy with the proffered solutions.我正在运行linux Mint 16并安装了ipython(v 1.1.0)和Spyder(v 2.2。 1)通过Mint 软件管理器的简单方法。我确保我还安装了 ipython-qtconsole 并验证我可以从终端运行它(即ipython qtconsole)。I'm running linux Mint 16 and have installed both ipython (v 1.1.0) and Spyder (v 2.2.1) the easy way via the Mint Software Manager. I made sure that I also installed ipython-qtconsole and verified that I could run it from a terminal (i.e. ipython qtconsole).我可以在Spyder python控制台中使用以下命令激活ipython控制台:I can activate an ipython console using the following commands in a Spyder python console:import IPythonIPython.start_ipython()虽然字体着色很奇怪但在白色背景上效果不佳(例如黄色的错误消息)和浅绿色)。无论如何能够从Spyder菜单以正常方式启动ipython会很不错。though the font coloring is strange and doesn't work well on a white background (e.g. error messages in yellow and light green). It would be nice anyway to be able to start ipython the normal way from the Spyder menu.推荐答案你可能想要安装 python-zmq 和Python 3的$ code> python3-zmq 。You may want to install python-zmq for Python 2 and python3-zmq for Python 3.我使用Ubuntu 14.04,所以:I use Ubuntu 14.04, so: sudo apt-get install python-zmq python3-zmq 这篇关于无法在spyder中获得ipython控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-04 14:17