[Pycharm] pycharm loading 시 인코딩 때문에 오류가 나는 경우
- tips
- 2023. 1. 24.
requirements.txt를 pycharm IDE에서 상단에 나타나는 노란색 bar를 클릭해서 설치하려는 경우에
Fatal Python error: init_stdio_encoding: failed to get the Python codec name of the stdio encoding
Python runtime state: core initialized
LookupError: unknown encoding: x-windows-949
위와 같은 오류가 발생했습니다.
두 가지를 설정해주니 정상 동작했습니다.
1. settings > editor > general > console 에서 utf-8로 변경
2. settings > editor > file encoding 에서 프로젝트 인코딩을 utf-8로 변경
참조한 블로그
'tips' 카테고리의 다른 글
[MAC 세팅] 내 M1 세팅 (0) | 2023.03.11 |
---|---|
[VSCODE] FIRA 폰트 적용 방법 (0) | 2022.11.22 |
[MDN] javascript로 게임 만들기 (0) | 2022.11.22 |
[KERNEL] 리눅스 kernel 기여 가이드(link only) (0) | 2022.11.22 |
[GITHUB] github에서 이미 push된 파일 제외하기 (0) | 2022.11.22 |