Python 调试器在pycharm中不起作用

Python 调试器在pycharm中不起作用,python,debugging,pycharm,Python,Debugging,Pycharm,我试图调试这个py文件,但是控制台抛出了这个 Traceback (most recent call last): File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_process_net_command.py", line 891, in process_net_command py_db.writer.add_com

我试图调试这个py文件,但是控制台抛出了这个

Traceback (most recent call last):
  File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_process_net_command.py", line 891, in process_net_command
    py_db.writer.add_command(cmd)
  File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 355, in add_command
    self.cmdQueue.put(cmd)
AttributeError: 'Queue' object has no attribute 'put'
Traceback (most recent call last):
  File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_process_net_command.py", line 891, in process_net_command
    py_db.writer.add_command(cmd)
  File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 355, in add_command
    self.cmdQueue.put(cmd)
AttributeError: 'Queue' object has no attribute 'put'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 318, in _on_run
    self.process_command(cmd_id, int(args[1]), args[2])
  File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 333, in process_command
    self.process_net_command(self.global_debugger_holder.global_dbg, cmd_id, seq, text)
  File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_process_net_command.py", line 909, in process_net_command
    py_db.writer.add_command(cmd)
  File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 355, in add_command
    self.cmdQueue.put(cmd)
AttributeError: 'Queue' object has no attribute 'put'
Can't process net command: 501  1   0.1 UNIX
有人能给我解释一下这是什么意思吗


它还表示“连接到python调试器时@NotNull参数's'的参数失败”

AttributeError:'Queue'对象没有属性'put'

这是错误消息。但我不确定是什么原因造成的,因为这可能是由各种各样的问题引起的

也许可以检查您的项目中是否有与内置文件
queue.py
相同的文件名?如果是这样,您应该能够通过将文件名更改为类似于
myQueue.py

您还可以提供更多有关查找错误的代码的详细信息