AttributeError: module 'requests' has no attribute 'get'

系统提示requests模块缺少get属性

这个错误非常低级,requests模块中本来就有get属性,只是因为我把文件名命名成了requests.py,和模块requests重名导致了错误,修改文件名即可。

猜你喜欢

转载自blog.csdn.net/songrenqing/article/details/79148825