Pycharm debugger instantly exits with 139 code

梦想的初衷 提交于 2019-11-30 11:06:48

I've fixed it by disabling PyQt compatible option in PyCharms's debugger settings (Build, Execution, Deployment > Python Debugger). I don't use PyQt, so I have not met any troubles

I did change Pycharm from 2017.1.4 to Pycharm EAP 2017.2, but with no effect.

I solved the problem by making new python virtual environment and changing default Pycharm interpreter to it. Not the fastest solution I guess, but at least it worked.

Pycharm now again gives suggestions of building something for Cython, but now I just ignore it.

I had the same issue with 2018.3 after updating and installing Cython for fast debugging.

The issue was with gevent library.

Solved enabling Gevent compatible option and disabling PyQt compatible.

I agree with James.

I meet the same question as you after I install PYQT. After I uninstall pyqt by Pycharm's "Preference->Project:your current project->Project Interpreter" find pyqt and push '-' button, the debug works.

What is interesting is that when I run a script which includes 'from PyQt4 import QtGui'. The pyqt package installed auto. And the debug does not work again. So I uninstall pyqt again and debug works one more time!

So I think there may be some package make debug not work , what you should do is just find and uninstall it. The crime package is often the pyqt, matplotlib or something similary.

i meet this problem, and i search for it a long time, all caused by the compatible of pyqt,So I think a good idea to solve it....

  • uninstall pyqt and matplotlib
  • Fist install pyqt
  • Second install matplotlib

then the problem was solved happily.

Mine worked after I removed pyqt5 bindings.

sudo apt-get remove python3-pyqt5

This wasn't happening to me because of building cpython. It was because I had installed an unrelated program. Hope it helps.

I had the same with 2017.1.4 Problem was resolved after update to 2017.1.5

Try clearing all your breakpoints. Worked for me. Also check you have no problem when doing Run instead of Debug.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!