I am Charmie

メモとログ

Mac OS X crashes and goes back to login window as soon as python codes executed

I had experiences that Mac OS X crashed and goes back to login window as soon as I execute some python codes.

The codes contain either matplotlib or tk visualization. The first experience was with matplotlib on spyder. I guess the crash is due to spyder and therefore I installed PyCharm. Today, I had same problem with tk on PyCharm. It is natural for me to guess the cause on graphics.

As soon as I googled, I found the following issue on Continum. For me, it looks promising to downgrade python to 3.7.0. Hmm, what to do?