Pycharm在进行一次使用socket模块进行服务端和客户端之间的连接时出现如上错误。
当我们在PyCharm中把运行窗口中运行状态终结了,实质是执行的python程序还没有结束, 所以打开windows任务管理器,把名为python的进程统统结束。