python 版本3.5 ,下载了requests模块安装,但是在实际使用中会出现“AttributeError: module ‘requests’ has no attribute ‘get’”的错误提示
解决方法:
1)检查是不是自己写的代码文件命名为requests.py如果是的话,修改文件名,即可。
python 版本3.5 ,下载了requests模块安装,但是在实际使用中会出现“AttributeError: module ‘requests’ has no attribute ‘get’”的错误提示
解决方法:
1)检查是不是自己写的代码文件命名为requests.py如果是的话,修改文件名,即可。