LoginSignup
3
2

More than 1 year has passed since last update.

[Python] jupyter notebookでplt.imshow()時にkernel deadとなる場合

Last updated at Posted at 2022-08-05

jupyter notebook上でplt.imshow()を実行したときに以下の画面のようになった。

Kernel Restarting
The kernel appears to have died. It will restart automatically.

スクリーンショット 2022-08-05 172627.png

以下を入れると解決した。

import os
os.environ['KMP_DUPLICATE_LIB_OK']='True'
3
2
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
3
2