1. error 발생
1) 발생한 오류 내역:
partially initialized module 'requests' has no attribute 'get' (most likely due to a circular import)
2) 번역:
부분 초기화 모듈 'get'에 'get' 특성이 없습니다(대부분 순환 가져오기 때문일 수 있음).
2. 해결 방법
결론부터 말하자면 import 하려는 모듈과 같은 이름의 파이썬파일을 생성해서 생긴 문제
해결 방법은 import하려는 모듈과 다른 이름의 파이썬 파일로 변경하면 된다.
'IT study > 06. selfStudy: code error' 카테고리의 다른 글
Fatal error in launcher: Unable to create process (1) | 2023.10.03 |
---|---|
vi 입력 에러 (0) | 2022.05.24 |
wsl install 시 0x800701bc error (0) | 2022.05.20 |
python error: dictionary 타입을 json으로 읽을 때 한글깨짐현상 (0) | 2021.09.03 |
git error: Updates were rejected because the tip of your current branch is behind its remote counterpart. (0) | 2021.08.01 |