NotImplementedError: A UTF-8 locale is required. Got ANSI_X3.4-1968 해결방법Deep Learning & Machine Learning/Colab2024. 2. 19. 23:04
Table of Contents
반응형
코랩 Colab에서 패키지 설치할 때 다음 에러 발생시 해결하는 방법입니다.
NotImplementedError: A UTF-8 locale is required. Got ANSI_X3.4-1968
최초작성 2024. 2. 19
다음처럼 pip 앞에 두줄을 추가로 코드셀에 적으면 패키지를 문제없이 설치할 수 있습니다.
import locale locale.getpreferredencoding = lambda: "UTF-8" !pip install transformers==4.28.1 |
참고
https://github.com/googlecolab/colabtools/issues/3409
반응형
'Deep Learning & Machine Learning > Colab' 카테고리의 다른 글
코랩 사용기 ( Pay As You GO, 코랩 프로) (3) | 2024.10.05 |
---|---|
코랩 대안 런팟(RunPod) 사용방법 (8) | 2024.10.02 |
colab에서 gemma를 사용해봤어요. (1) | 2024.02.27 |
The model 'OptimizedModule' is not supported for text-generation 해결방법 (0) | 2024.02.20 |