用vs code的終端運行python代碼,在“運行選中的代碼”或粘貼執行時,經常會報以下錯誤,重新執行又正常了,請教了!
Unhandled exception in event loop: File "C:\ProgramData\Anaconda3\lib\asyncio\proactor_events.py", line 768, in _loop_self_reading f.result() # may raise File "C:\ProgramData\Anaconda3\lib\asyncio\windows_events.py", line 808, in _poll value = callback(transferred, key, ov) File "C:\ProgramData\Anaconda3\lib\asyncio\windows_events.py", line 457, in finish_recv raise ConnectionResetError(*exc.args)Exception [WinError 995] 由於線程退出或應用程序請求,已中止 I/O 操作。Press ENTER to continue...