[TIL-17] 파이참 x-windows-949 오류

우소라·2023년 4월 4일
1

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 Current thread 0x00002c30 (most recent call first):

처음 실행했을 때 이런 오류 뜰 수 있는데
인코딩 설정을 바꾸면 해결됨

File -> Settings -> Editor -> File Encoding -> project setting -> UTF-8

이렇게 해도 똑같은 오류가 발생할 수 있는데 그럴 땐

File - Settings - Editor - General - Console -> Default Encoding -> UTF-8

이렇게 하시면 잘 됩니다ㅎㅎ

0개의 댓글

관련 채용 정보