OSError:[Errno 0]httplib2请求中出错

2024-09-30 01:20:53 发布

您现在位置:Python中文网/ 问答频道 /正文

我的本地python应用程序使用httplib2调用restapi。一年多来它一直运转良好。今天早上我开始收到以下错误:

2018-06-28 12:43:07.001 Python[1722:25727] IMKInputSession [0x7f99e21ac2f0 presentFunctionRowItemTextInputViewWithEndpoint:completionHandler:] : [self textInputContext]=0x7f99dfd48440 *NO* NSRemoteViewController to client, NSError=Error Domain=NSCocoaErrorDomain Code=4097 "connection from pid 0" UserInfo={NSDebugDescription=connection from pid 0}, com.apple.inputmethod.EmojiFunctionRowItem

最初,我认为这是因为我的openSSL证书过期了。我已经更新到openssl1.1。我还从python3.6更新到了3.7。我仍然得到同样的错误。在

进行调用的代码如下。在

^{pr2}$

错误是由连接.请求(). 在


Tags: tonofromselfrestapi应用程序错误connection

热门问题