asyncio\base_events.py", line 1043, in create_serverOSError: [WinError 10048] 一次只能用一個通訊端位址(通訊協定/網路位址/連接埠)。err.strerror.lower()))
OSError: [Errno 10048] error while attempting to bind on address ('127.0.0.1', 1234): 一次只能用
我必须向一些C#应用程序提供一种方法来调用我的Python应用程序,并传递一些数据进行处理,并在Python任务结束时接收回结果(两者都是图形用户界面应用程序)。我认为管道可以很好地完成这项工作,在C#端创建命名管道,如下所示 new NamedPipeServerStream在Python端,一旦知道了管道名称并使用了类似于win32pipe的命令
message = 'a test'
下面是我的老师给我运行的一个程序的错误堆栈跟踪: C:\Users\USER\AppData\Local\Programs\Python\Python37\python.exe "D:/miscellaneous()
File "C:\Users\USER\AppData\Local\Programs\Python\Python37\lib\site-packages\ibapi-9.76.1-py3.7connection.py", line 119, i