AttributeError: partially initialized module 'requests' has no attribute 'post' (most likely due to a circular import)
해당 에러는 import하는 라이브러리와 파일명이 같을 때 발생하는 에러이다.
파일명을 바꿔주면 손쉽게 해결 가능하다.
'Python' 카테고리의 다른 글
[python] 아스키 코드 문자 변환 ord( ), chr( ) (0) | 2022.08.02 |
---|---|
[python] 딕셔너리에서 최대값의 키 값 추출하기 (0) | 2022.03.04 |
[python] 실행 시 ModuleNotFoundError: No module named 'bluetooth' 해결법 (0) | 2022.02.07 |
plt 축 제거하고 이미지만 저장하기 (0) | 2021.10.03 |