python/tornado/websocket 報錯 There is no current event loop in thread 'Thread-208'.

報錯具體如下:

There is no current event loop in thread 'Thread-208'.

造成原因:

python2升級到python3後,文件夾下有隱藏文件,把文件夾下的“__pycache__”文件夾 和 “.idea” 文件夾 刪除

再運行就OK了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章