TypeError: __init__() got an unexpected keyword argument 'strict'
Posted jinmubaobao
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了TypeError: __init__() got an unexpected keyword argument 'strict'相关的知识,希望对你有一定的参考价值。
使用requests发请求时发生报错 TypeError: __init__() got an unexpected keyword argument ‘strict‘
莫慌,不是你代码写错了,是因为请求模块requests不是最新的
只需要
pip install requests --upgrade
就OK了
以上是关于TypeError: __init__() got an unexpected keyword argument 'strict'的主要内容,如果未能解决你的问题,请参考以下文章