[BUG] Can't print in Jupyter console or qtconsole (but can in jupyter lab)
See original GitHub issueThis is what I get when I try to do rich.print in jupyter console or qtconsole. But in jupyterlab it is able to print.
I have installed rich using pip install rich[jupyter]
Python version: 3.9
Jupyter (qt)console version: Latest
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (7 by maintainers)
Top Results From Across the Web
[BUG] Can't print in Jupyter console or qtconsole (but ... - GitHub
But in jupyterlab it is able to print. I have installed rich using pip install rich[jupyter] Python version: 3.9 Jupyter (qt)console ...
Read more >Developers - [BUG] Can't print in Jupyter console or qtconsole (but ...
This is what I get when I try to do rich.print in jupyter console or qtconsole. But in jupyterlab it is able to...
Read more >Magic %qtconsole problem Jupyter notebook - Stack Overflow
Hi guys I have a great problem: when i develop my model on jupyter notebook, i'm used to write the command: %qtconsole.
Read more >The Qt Console for Jupyter — Jupyter Qt Console 5.4.0 ...
The Qt console can use any Jupyter kernel. ... The widget also exposes the ability to print directly, via the default print shortcut...
Read more >Jupyter Documentation - Read the Docs
The Jupyter Lab interface is a more extensible and composable ... By default, notebook errors will be raised and printed into the terminal....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s probably a work around which could be suggested to other QtConsole users on Windows. For my own purpose, I’ll just need to change the theme.
I have been playing with
colorama.deinit()
after importing modules from Rich, and doingcolorama.init()
with different options. This seems to work after a fashion: the colour output is renabled when printing with ansi codes directly; italics in markdown are supported and the number for list items are in red (I don’t know if this is supposed to be the case).I’ll play with it some more and see if I can get something to work.