打開python自帶IDLE編輯器時出的問題
IDLE can't bind to a TCP/IP port, which is necessary to
communicate with its Python execution server. This might be
because no networking is installed on this computer. Run IDLE
with the -n command line switch to start without a subprocess
and refer to Help/IDLE Help 'Running without a subprocess' for
further details.
轉中文:
IDLE無法綁定到TCP/IP端口,這是 與它的Python執行服務器通信。這可能是 因為這台計算機上沒有安裝網絡。空轉 使用-n命令行開關在沒有子進程的情況下啟動 並參閱幫助/空閑幫助“不帶子進程運行” 更多細節。
解決方法:
以管理員身份打開cmd,輸入netsh winsock reset 重置網絡命令,再重啟電腦,就可以了。
