Pycharm pydev 调试器:进程永远连接

gie*_*s0r 7 debugging pydev pycharm python-3.x

/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/bin/python3.6 "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 55819 --file "/Applications/PyCharm CE.app/Contents/helpers/pycharm/_jb_unittest_runner.py" --target test_output.TestMispOutputBot.test_event
Testing started at 10:31 ...
pydev debugger: process 3170 is connecting
Run Code Online (Sandbox Code Playgroud)

在我放弃并终止进程之前 10 分钟没有输出。

Traceback (most recent call last):
  File "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py", line 1599, in <module>
    globals = debugger.run(setup['file'], None, None, is_module)
  File "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py", line 994, in run
    time.sleep(0.1)  # busy wait until we receive run command
KeyboardInterrupt
Run Code Online (Sandbox Code Playgroud)

我尝试了我发现的有关该错误消息的所有内容:

有任何想法吗?

小智 2

通过更新解决了该问题pyqt。如果您使用 anaconda,请尝试:

conda install -c anaconda pyqt 
Run Code Online (Sandbox Code Playgroud)