Pycharm 调试报错 AttributeError: ‘_MainThread‘ object has no attribute ‘isAlive‘. Did you mean: ‘is_alive

报错:

image

解决方法:

点击 pydev_is_thread_alive.py 打开文件,将 isAlive() 改为 is_alive() 即可。

image

posted @ 2025-11-05 23:39  YouKong  阅读(76)  评论(0)    收藏  举报