PyCharm报错:AttributeError: ‘_MainThread‘ object has no attribute ‘isAlive‘. Did you mean: ‘is_alive‘?
PyCharm在debug的时候报错:AttributeError: '_MainThread' object has no attribute 'isAlive'. Did you mean: 'is_alive'?点“pydev_is_thread_alive.py”打开文件。将isAlive()改为is_alive()就好了,重新debug,正常。
原创
2024-11-09 18:20:03 ·
5212 阅读 ·
5 评论