gpt4 book ai didi

python - pycharm 调试器未连接 : KeyboardInterrupt

转载 作者:太空狗 更新时间:2023-10-29 21:21:46 25 4
gpt4 key购买 nike

不知何故,我的 pycharm 调试器不再连接

我测试了所有 ENV。另外,在 stackoverflow 上阅读它:我删除了 .idea 目录

然而,在重新启动pycharm .idea 后总是重新创建(删除缓存甚至再次删除和下载pycharm)

**/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py" --multiproc --qt-support --client 127.0.0.1 --port 52281 --file /Users/franzi/Desktop/i18n/qordoba-cli/qordoba/cli.py i18n-find --traceback
warning: Debugger speedups using cython not found. Run '"/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6" "/Applications/PyCharm CE.app/Contents/helpers/pydev/setup_cython.py" build_ext --inplace' to build.
pydev debugger: process 96448 is connecting

Connected to pydev debugger (build 171.4694.67)
Could not connect to 127.0.0.1: 52282
Traceback (most recent call last):
File "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py", line 1583, in <module>
debugger.connect(host, port)
File "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py", line 324, in connect
self.initialize_network(s)
File "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py", line 316, in initialize_network
time.sleep(0.1) # give threads time to start
KeyboardInterrupt

Process finished with exit code 1**

最佳答案

我遇到了类似的问题。我已经删除(删除,而不是禁用)所有现有断点(在 Ctrl+Shift+F8 调用的对话框中)。删除所有断点并修改运行配置(禁用添加内容根并将源根添加到 PYTHONPATH)后,调试开始工作。重新启用它们并且仍然可以正常工作 - 问题消失了。

我认为删除断点足以解决问题。请参阅 JetBrains 社区的提示: https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000014004/comments/115000239630

关于python - pycharm 调试器未连接 : KeyboardInterrupt,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45109515/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com