question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't highlight text on ptpython and ptipython

See original GitHub issue

Installed ptipython but see an error saying prompt_toolkit version is too high.

Manually installed a compatible version (2.0.9), but I can’t highlight and copy text on this version of prompt_toolkit.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
justinmayercommented, Oct 12, 2020

Most welcome… Side note: How do you avoid the following error when running ptpython without a configuration file?

> django-admin shell_plus
[… long list of imports …]
Impossible to read '/Users/myuser/.ptpython/config.py'

Press ENTER to continue...
0reactions
yoongkangcommented, Oct 12, 2020

Thanks for letting us know about the fix. This strangely resolved itself but I can’t remember if I actually used the configuration file when I was seeing the problem. I can confirm I don’t have a config file and highlighting works again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - syntax highlighting in ipython console - Stack Overflow
In ipython-qtconsole , when I type import pandas as pd the words have syntax highlighting. However, when I type in the console, all...
Read more >
Ptpython: A Better Python REPL - Towards Data Science
Run ptipython , to get a nice interactive shell with all the power that IPython has to offer, including the magic commands! Image...
Read more >
Bountysource
Can't highlight text on ptpython and ptipython.
Read more >
Python – syntax highlighting in ipython console – iTecNote
However, when I type in the console, all text is white. ... which provide 2 commands: ptpython and ptipython which should syntax highlight...
Read more >
Ptpython: A Better Python REPL - Morioh
Selecting text : Press Control+Space in Emacs mode or V (major V) in Vi ... When ptpython has been installed, it will by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found