qtconsole

Setting up IPython Qtconsole with PyQt5

烈酒焚心 提交于 2019-12-01 04:11:26
On an OSX 10.9, I have Qt5 installed. Later I installed Ipython, sip and PyQt5 all build from source. Now here is the problem: when I try to run ipython qtconsole , I have a bunch of errors related to the files in this directory (and its subfolders) /Library/Python/2.7/site-packages/IPython/ followed by ImportError: Could not load requested Qt binding. Please ensure that PyQt4 >= 4.7 or PySide >= 1.0.3 is available, and only one is imported per session. Currently-imported Qt library: None PyQt4 installed: False PySide >= 1.0.3 installed: False Tried to load: ['pyside', 'pyqt'] I assume the

Setting up IPython Qtconsole with PyQt5

六眼飞鱼酱① 提交于 2019-12-01 01:12:04
问题 On an OSX 10.9, I have Qt5 installed. Later I installed Ipython, sip and PyQt5 all build from source. Now here is the problem: when I try to run ipython qtconsole , I have a bunch of errors related to the files in this directory (and its subfolders) /Library/Python/2.7/site-packages/IPython/ followed by ImportError: Could not load requested Qt binding. Please ensure that PyQt4 >= 4.7 or PySide >= 1.0.3 is available, and only one is imported per session. Currently-imported Qt library: None

How to activate Ipython Notebook and QT Console with Python 3.4 in Anaconda 2.0

佐手、 提交于 2019-11-30 21:53:00
I have installed in Window 7 environment Anaconda 2.0. The default Python is 2.7 but also Python 3.4 is installed. I am able to activate Python 3.4 with the command "activate py3k". After this Spyder IDE does work right with Python 3.4 But 1) I'm not able to start Ipython Notebook and QT Console with Python 3.4 2) I'm not able to start Anaconda with Python 3.4 as default (so that also launcher starts the three apps -Spyder, Ipython Notebook and Ipython QT Console with python 3.4) The launcher always points to the root environment (Python 2). If you have activated the Python 3 environment, you

How to activate Ipython Notebook and QT Console with Python 3.4 in Anaconda 2.0

微笑、不失礼 提交于 2019-11-30 17:24:58
问题 I have installed in Window 7 environment Anaconda 2.0. The default Python is 2.7 but also Python 3.4 is installed. I am able to activate Python 3.4 with the command "activate py3k". After this Spyder IDE does work right with Python 3.4 But 1) I'm not able to start Ipython Notebook and QT Console with Python 3.4 2) I'm not able to start Anaconda with Python 3.4 as default (so that also launcher starts the three apps -Spyder, Ipython Notebook and Ipython QT Console with python 3.4) 回答1: The

How to increase the ipython qtconsole scrollback buffer limit

你说的曾经没有我的故事 提交于 2019-11-30 03:57:12
When I load ipython with any one of: ipython qtconsole ipython qtconsole --pylab ipython qtconsole --pylab inline The output buffer only holds the last 500 lines. To see this run: for x in range(0, 501): ...: print x Is there a configuration option for this? I've tried adjusting --cache-size but this does not seem to make a difference. Quickly: ipython qtconsole --IPythonWidget.buffer_size=1000 Or you can set it permanently by adding: c.IPythonWidget.buffer_size=1000 in your ipython config file. For discovering this sort of thing, a helpful trick is: ipython qtconsole --help-all | grep PATTERN

How to increase the ipython qtconsole scrollback buffer limit

佐手、 提交于 2019-11-29 01:31:43
问题 When I load ipython with any one of: ipython qtconsole ipython qtconsole --pylab ipython qtconsole --pylab inline The output buffer only holds the last 500 lines. To see this run: for x in range(0, 501): ...: print x Is there a configuration option for this? I've tried adjusting --cache-size but this does not seem to make a difference. 回答1: Quickly: ipython qtconsole --IPythonWidget.buffer_size=1000 Or you can set it permanently by adding: c.IPythonWidget.buffer_size=1000 in your ipython