1

When I run %qtconsole from within ipython3 I get ERROR: Line magic function%qtconsolenot found., but ipython3 qtconsole in terminal starts fine. According to this, how can I run qtconsole instance connected to ipython3 instance? And how to run it on a single core -- rc[0].execute(%qtconsole)?

P.S. If someone know, tell me please how to escape `(backquote) symbol in code-mode.

goaud27
  • 145
  • 1
  • 9
  • If you just run `ipython3` in a terminal, what you get is a pure terminal interface, it's not running a kernel that the Qt console can talk to. If you run `ipython3 console`, you'll get a similar interface but it will be talking to a kernel, so you can start a Qt console to interact with it. – Thomas K May 10 '15 at 18:53
  • Thank You, good guy. It really solved my problem. Make your comment an answer, so I can mark it as correct answer. – goaud27 May 10 '15 at 20:41

1 Answers1

1

Reposting as an answer:

If you just run ipython3 in a terminal, what you get is a pure terminal interface, it's not running a kernel that the Qt console can talk to.

If you run ipython3 console, you'll get a similar interface but it will be talking to a kernel, so you can start a Qt console to interact with it. You can either run %qtconsole from inside that interface, or run ipython qtconsole --existing in a shell to start a Qt console and connect to an existing kernel.

Thomas K
  • 39,200
  • 7
  • 84
  • 86