After upgrading from Pycharm 2017.2.3to Pycharm 2017.1.4Pycharm, Debugger suggested building cpython (or the associated sth):
Pycharm 2017.2.3
Pycharm 2017.1.4
path/to/my/python/opt/pycharm-community-2017.1.4/helpers/pydev/setup_cython.py build_ext --inplace
After I have done this, the debugger instantly returns this error:
Process terminated with exit code 139 (interrupted by signal 11: SIGSEGV)
I found that there was a similar problem with cpython ( https://youtrack.jetbrains.com/issue/PY-23273 ), but I canβt use the workaround mentioned there because I donβt have enough files that it suggests deleting .. I'm not using Cython, I would like to ignore this post about creating it ..
I am on Linux ( SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux)
SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux
Python 2.7
I fixed this by disabling the option PyQt compatiblein the PyCharms debugger settings (build, execution, deployment> Python debugger). I do not use PyQt, so I have not encountered any problems
PyQt compatible
I changed Pycharm from 2017.1.4to Pycharm EAP 2017.2, but without effect.
2017.1.4
Pycharm EAP 2017.2
I solved the problem by creating a new python virtual environment and changing the default Pycharm interpreter. Not the fastest solution, I think, but at least it worked.
Pycharm now offers suggestions for creating something for Cython, but now I just ignore it.
.
, PYQT. pyqt Pycharm "Preference- > Project: - > Project Interpreter" pyqt "-", .
, script, " PyQt4 import QtGui". pyqt . . pyqt, debug !
, , - , , . pyqt, matplotlib - .
, , pyqt, , ....
, pyqt5.
sudo apt-get remove python3-pyqt5
This did not happen to me due to the creation of cpython. This was because I installed an unrelated program. Hope this helps.
I had the same thing with 2017.1.4 The problem was resolved after upgrading to 2017.1.5
Try to clear all your breakpoints. Worked for me. Also check that you have no problem running Run instead of Debug.
Source: https://habr.com/ru/post/1681129/More articles:How to convert the file from ASCII to UTF-8? - linuxWhy am I allowed to use the incomplete enum class? - c ++How can I pass the output from one python script as input to another python script? - bashUse the native reaction to create an iOS framework and an Android library (not an application) from a common code base - androidSslStream Authentication Fails Due to LOCAL SYSTEM Account - authenticationHow to avoid admin access for SslStream.AuthenticateAsClient? - c #Math.Cos () precision for a large integer - floating-pointReliably reproduce in C # the outdated password hashing method implemented in PHP - c #Jupyter Notebook in Pycharm Pro introduces authentication token - pycharmKassandra: difference in b / w TEXT (VARCHAR) and ASCII - stringAll Articles