Discuss / Python / 报错 我应该下载了 为什么提示导入报错呀

报错 我应该下载了 为什么提示导入报错呀

Topic source

凯阿kkk

#1 Created at ... [Delete] [Delete and Lock User]

AttributeError: partially initialized module 'requests' has no attribute 'get' (most likely due to a circular import)

凯阿kkk

#2 Created at ... [Delete] [Delete and Lock User]

自己解决了,是由于文件命名为requests 所以报错 修改掉就行

菜狗

#3 Created at ... [Delete] [Delete and Lock User]

我以前也犯过同样的错误


  • 1

Reply