当前位置:   article > 正文

connection to python debugger_python - pycharm debugger出现错误 提示 Could not connect to.... 和TypeError:...

connected to pydev debugger (build 232.10072.31) traceback (most recent call

问 题

pydev debugger: process 20236 is connecting

Could not connect to 127.0.0.1: 10604

Traceback (most recent call last):

File "D:\PyCharm 2017.1.5\helpers\pydev\pydevd.py", line 1588, in

debugger.connect(host, port)

File "D:\PyCharm 2017.1.5\helpers\pydev\pydevd.py", line 325, in connect

self.initialize_network(s)

File "D:\PyCharm 2017.1.5\helpers\pydev\pydevd.py", line 312, in initialize_network

self.writer = WriterThread(sock)

File "D:\PyCharm 2017.1.5\helpers\pydev\_pydevd_bundle\pydevd_comm.py", line 412, in __init__

self.cmdQueue = _queue.Queue()

TypeError: __init__() missing 1 required positional argument: 'size'

解决方案

错误信息提示得已经很明显了

pydevd_comm.py第412行

self.cmdQueue = _queue.Queue()

缺少必要参数size

扫一扫关注IT屋

微信公众号搜索 “ IT屋 ” ,选择关注与百万开发者在一起

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/222324
推荐阅读
相关标签
  

闽ICP备14008679号