1. 程式人生 > >python 使用requests時提示Process finished with exit code -1073741819 (0xC0000005)

python 使用requests時提示Process finished with exit code -1073741819 (0xC0000005)

我這裡是因為訪問的https連線,所以驗證證書或者指定證書路徑即可。

requests.post(loginUrl,data=formData,headers=headers,verify=False)

requests.get(loginUrl,data=formData,headers=headers,cert=('/path/server.crt', '/path/key'))