python3 pycharm 断点调试 报错 greenlet.error: cannot switch to a different thread

错误信息

greenlet.error: cannot switch to a different thread

python3 pycharm 断点调试 报错 greenlet.error: cannot switch to a different thread

 

解决办法

setting->build->python debugger->gevent compatible(勾选)

python3 pycharm 断点调试 报错 greenlet.error: cannot switch to a different thread