Closed ianzhy closed 5 months ago
python 3.10 + pyodps 0.11.5 also had this problem. I solved the problem the way you did. But it seems that only the last two changes are needed.
Thank you very much.
Fixed in PyODPS 0.11.6 by using public version of requests.
odps version==0.11.4.1。 在3.9下,DataFrame报ResponseNotReady, 在3.6-3.8下都是好的,看了下是因为urllib3在3.9改动较大的原因,改一下odps/lib/requests/adapters.py就行,放在这里供参考。 修改三处地方:(1)增加import urllib3; (2)533行获得low_conn以后添加_response_options; (3) 557行 urllib3直接返回HTTPResponse了,直接改为resp=r。