ipython / ipython/ipython

Cannot install event loop hook for "qt6" when running with `--simple-prompt` (ipython-8.20.0) but ipython-8.14.0 OK

オープン
#14,298 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
16.8k
フォーク
4.5k
平均マージ
1日 2時間
マージ済み PR(30日)
6

説明

With ipython-8.20.0 I get:
```
ipython3.12 --simple-prompt
Python 3.12.1 (main, Dec 18 2023, 00:00:00) [GCC 13.2.1 20231011 (Red Hat 13.2.1-4)]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.20.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: %gui qt6
Cannot install event loop hook for "qt6" when running with `--simple-prompt`.
NOTE: Tk is supported natively; use Tk apps and Tk backends with `--simple-prompt`.
```

But if Ipython-8.14.0 this works
```
ipython --simple-prompt
Python 3.12.1 (main, Dec 18 2023, 00:00:00) [GCC 13.2.1 20231205 (Red Hat 13.2.1-6)]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.14.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: %gui qt6
Installed qt6 event loop hook.
```

Since running ipython as subprocess under emacs require --simple-prompt, this is a problem for that environment.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。