partially initialized module 'requests' has no attribute 'get'解决方法

出现“AttributeError: module ‘requests’ has no attribute ‘get’”的错误提示

解决方法:

        检查是不是自己写的代码文件命名为requests.py,修改文件名,即可。
 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章