今天学习Requests库,当用pip install requests安装后,写了一段代码报错:AttributeError: module 'requests' has no attribute 'get'”

解决:AttributeError: module 'requests' has no attribute 'get'”

解决:AttributeError: module 'requests' has no attribute 'get'”

后从https://www.zhihu.com/question/57011609得到答案,原来是我的代码文件命名为requests.py 了。赶紧改了,发现ok:

解决:AttributeError: module 'requests' has no attribute 'get'”

相关文章:

  • 2021-06-11
  • 2021-11-02
  • 2021-06-23
  • 2022-12-23
  • 2021-11-14
  • 2021-09-15
  • 2021-12-19
  • 2021-11-02
猜你喜欢
  • 2021-05-07
  • 2022-12-23
  • 2022-01-07
  • 2021-04-20
  • 2021-09-01
  • 2022-12-23
  • 2021-04-23
相关资源
相似解决方案