728x90
txt파일의 문자인코딩방식으로 인해 발생하는 오류이다.
필자는 np.loadtxt()에서 위와 같은 오류가 떴다.
**해결책**
np.load(encoding='UTF8')을 추가하니깐 오류가 해결되었다.
728x90
'STUDY > ERROR' 카테고리의 다른 글
| [파이썬 가상환경] python 가상환경 진입 오류 해결 (0) | 2022.12.16 |
|---|---|
| downgrade the protobuf package to 3.20.x or lower. (0) | 2022.06.23 |
| ModuleNotFoundError: No module named 'scipy' (0) | 2022.06.22 |
| module 'tensorflow' has no attribute 'contrib' (0) | 2022.06.07 |
| BrokenPipeError: [Errno 32] Broken pipe (0) | 2022.06.03 |