LoginSignup
0
0

More than 1 year has passed since last update.

Spyder起動エラーの時の初動(Python内での実行によるエラーログ確認)

Posted at

Python内でのSpyder実行方法

Python用統合開発環境Spyderが起動しない原因を
突き止めるためのヒントを探る方法の一つとして、
Python内でSpyderをコールすることで、
起動時のエラーログを確認することができる。

起動方法は、以下の2行を実行するだけ。

run_spyder.py
from spyder.app import start
start.main()

エラーログの例

仮想環境にpipでspyderを入れたのだが、spyder.exeを叩いても
起動時のロゴは表示されたと思ったが、その後、サイレントに落ちてしまう状況。
上記のPythonからの実行してみた結果が以下。

(venv2) C:\Users\thash\OneDrive\デスクトップ\test_flask>ipython
Python 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.32.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: from spyder.app import start
   ...: start.main()
fromIccProfile: failed minimal tag size sanity
Could not find QtWebEngineProcess.exe

こうして、
「fromIccProfile: failed minimal tag size sanity」
「Could not find QtWebEngineProcess.exe」
の2つのヒントが得られた。
これらを検索にかける等で、解決の手がかりを探していくことができる。
(とはいえ、2022年4月現在、筆者はまだこのエラーを解決できてはいない。。。)

以上

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0