LoginSignup
1
1

More than 5 years have passed since last update.

Process finished with exit code -1073741819 (0xC0000005) の対処法

Posted at

pycharmで実装してたら、
ある日急にpythonの処理がProcess finished with exit code -1073741819 (0xC0000005)
というメッセージとともに中断されるようになりました。

いろいろ調べてみると以下のimport文がアウトでした。

import matplotlib.pyplot as plt

なぜ急にmatplotlibのインポートがダメになるのかよくわかりませんが、
以下のようにしたら解決します。

import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
1
1
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
1
1