python-3.x - Pycharm pydev 调试器 : process is connecting forever

标签 python-3.x debugging pycharm pydev

/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

在我放弃并终止进程之前 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

我尝试了我发现的有关该错误消息的所有内容:
  • 清除所有断点( recommended herehere )
  • 删除了 .idea 文件夹( recommended herehere )
  • 禁用选项添加内容根并将源根添加到 PYTHONPATH ( recommended here )

  • 有任何想法吗?

    最佳答案

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

    conda install -c anaconda pyqt 
    

    关于python-3.x - Pycharm pydev 调试器 : process is connecting forever,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49218619/

    相关文章:

    mysql - 从 Drupal 7 迁移数据

    typescript - 如何调试 Electron-Forge React-TypeScript 的渲染器进程?

    iOS UICalloutBar 崩溃

    java - 图形未出现在 JFrame 中(包括 SSCCE)

    python-3.x - PyCharm 没有 Splunk SDK (splunklib)

    python - 为什么 PyCharm 单元测试发现不适用于目录?

    python - python bisect 比 numpy.searchsorted 快吗?

    python - + : 'int' and 'str' 不支持的操作数类型

    python - 在python中按句子结构对文本进行分类

    javascript - JavaScript 中的字符串比较问题