Questions tagged [qtconsole]

QTConsole is a very lightweight widget that largely feels like a terminal, but provides a number of enhancements only possible in a GUI, such as inline figures, proper multiline editing with syntax highlighting, graphical calltips, and much more.

QTConsole is a very lightweight widget that largely feels like a terminal, but provides a number of enhancements only possible in a GUI, such as inline figures, proper multiline editing with syntax highlighting, graphical calltips, and much more.

More info: A Qt Console for IPython

105 questions
4
votes
1 answer

Ipython qtconsole cannot find installed PyQt (Homebrew)

I have been trying to install Python 3.3.2 + ipython 1.0 with qtconsole, all via Homebrew. This requires me to download and install PyQt, which I have done successfully. However, when I try to run $ipython3 qtconsole, it cannot load PyQt4 - it says…
4
votes
1 answer

How can I spawn an IPython qtconsole within my app while passing existing objects to that console

I am trying to embed an IPython qtconsole in my application, in a similar way that I can embed an IPython text console, thus: from IPython.frontend.terminal.embed import InteractiveShellEmbed myobj={'jason':10} shell =…
Jay M
  • 3,736
  • 1
  • 24
  • 33
3
votes
0 answers

Why does QtConsole error out when I try to convert it to bundle in pyinstaller?

My qtconsole code is this: import sys from qtpy import QtWidgets from qtconsole.rich_jupyter_widget import RichJupyterWidget from qtconsole.manager import QtKernelManager # The ID of an installed kernel, e.g. 'bash' or 'ir'. USE_KERNEL =…
3
votes
1 answer

Jypyter QTconsole not returning error messages

Am i missing something? I did get newest Winpython (WinPython-64bit-3.4.4.4Qt5) package and when i'm trying to run code with %run code in QTconsole everything goes well but error messages are not printing to console. Am i using %run all wrong or is…
Wenlin88
  • 61
  • 6
2
votes
0 answers

Error on openning Jupyter qtconsole of existing notebook

I can open an independent qtconsole from terminal without any problem $ jupyter qtconsole However, when I run Jupyter qtconsole linked to an existing notebook in local, it gives errors and opens a disabled qtconsole with a blank page. $ jupyter…
ibilgen
  • 460
  • 1
  • 7
  • 15
2
votes
4 answers

Using describe() method to exclude a column

I am new to using python with data sets and am trying to exclude a column ("id") from being shown in the output. Wondering how to go about this using the describe() and exclude functions.
cam.mc
  • 23
  • 1
  • 4
2
votes
2 answers

2 Possible Package Resolutions

I can't connect to kernel in Spyder 4, and when I try to update qtconsole, I get the following error: Warning: 2 possible package resolutions (only showing differing packages): - defaults::jupyter_console-6.0.0-py37_0,…
CodeBabylon
  • 51
  • 1
  • 7
2
votes
1 answer

Matplotlib: matplotlibrc file ignored after seaborn import

I have a custom matplotlibrc file with matplotlib configuration options, following the procedure here. When I first start up Jupyter QtConsole (through the terminal, if that matters), the file is being read—plots use the options I've set, such as…
Brad Solomon
  • 38,521
  • 31
  • 149
  • 235
2
votes
0 answers

I don't know what‘s wrong with the Jupyter QtConsole

I used the anaconda python downloaded the Anaconda python3.x(32-bit) but when I used jupyter QtConsole. I find built-in function ‘help’ has some problem. For exmple when I typed help('modules') happend an error.``
Warm
  • 21
  • 3
2
votes
1 answer

Can't plot colorbar in Jupyter QtConsole: No mappable was found ... error

I see the following example to plot both image and colormap: Code: imgplot = plt.imshow(lum_img) plt.colorbar() From here: http://matplotlib.org/users/image_tutorial.html But when I do this from my console, I get: i.e. image displayed…
Dims
  • 47,675
  • 117
  • 331
  • 600
2
votes
0 answers

How to set up vim to work with Ipython %edit magic function in QTconsole (Mac)?

%edit works in terminal, but in qtconsole I get a message that the default editor is not set in IPythonWidget.editor. Where can I find this file? Google suggest modifying ipython_config, but I found like 10 files with that name on my laptop. I…
YKY
  • 2,493
  • 8
  • 21
  • 30
2
votes
0 answers

How can I launch a python script in the Qt Console with a windows shortcut?

I have written a python program designed to run in the IPython qt console with inline graphs. My end users are factory workers running windows and are not technically sophisticated. I am trying hard to reduce complexity for them. How can I create a…
David Howlett
  • 89
  • 1
  • 8
2
votes
2 answers

LaTeX printing in ipython qtconsole when running external file

I solved an analytic problem using sympy and saved everything in a .py file. When I run the code (which includes init_printing()) with ipython filename.py I get nice unicode output whenever I print within the file with pprint. So far so good. When I…
1
vote
0 answers

sending code from Neovim to Jupyter qtconsole

I just newly switched to using neovim. Before this I used to use jupyter lab. So far I have configured vim-slime with neovim and can yank code from script into a ipython shell. The python shell cannot display matplotlib graphs by itself. for this…
1
vote
0 answers

Magic %qtconsole problem Jupyter notebook

Hi guys I have a great problem: when i develop my model on jupyter notebook, i'm used to write the command: %qtconsole in order to test a little pieces of notebook before implementing them. I had to install a new jupyter environment as always done,…
Jhonny
  • 162
  • 9