问题描述
我以前使用EPD Python发行版的Qt-console进行工作,其中最有用的功能之一是在同时执行多个计算时,在多个选项卡中轻松拥有多个内核.
I previously worked with the EPD Python distribution using its Qt-console, where one of the most useful features was easily having multiple kernels in multiple tabs, when doing several calculations simultaneously.
我最近得到了新的"有思想的檐篷",它以某种方式试图模仿MatLab,这也许还不错.问题来了:如何使用Canopy如何获得带有分离内核的多个选项卡?
I recently got the "new" Enthought Canopy, which somehow tries to emulate MatLab, which might not be bad perse. Here comes the problem: How do I get multiple tabs with separated kernels with Canopy?
为了完整起见,我在Ubuntu-Gnome 13.04上运行Canopy 1.1.0.
For completeness, I am running Canopy 1.1.0 on Ubuntu-Gnome 13.04.
推荐答案
Canopy GUI应用程序尚不支持多个内核.但是,就像使用EPD一样,您可以从Canopy User Python命令行中运行QtConsole,包括使用其多个内核功能.
The Canopy GUI application does not yet support multiple kernels. However, just like with EPD, you can run QtConsole, including using its multiple kernel capabilities, from a Canopy User Python command line.
要快速执行此操作:
~/Enthought/Canopy_64bit/User/bin/ipython qtconsole
~/Enthought/Canopy_64bit/User/bin/ipython qtconsole
长期而言,运行Canopy User Python的最简单方法是使用Canopy首选项对话框将其设置为默认的python
.详细信息:
Long-term, the easiest way to run Canopy User Python may be to make it your default python
, using the Canopy preferences dialog. Details at:
https://support. enthought.com/entries/23646538-Make-Canopy-User-Python-be-your-default-Python
这篇关于有思想的树冠中有多个内核的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!