Computer/Python
jupyterlab extension 설치 안 될 때.
pleasebetrue
2020. 10. 2. 17:01
아래의 그림과 같이, UnicodeDecodeError: 'cp949' codec can't decode 어쩌구... 가 나오는 경우 npm 에서 인코딩에 문제가 생긴 것이다.
아래의 경로에서 파일을 찾아 열자
(anaconda3 or python)\Lib\site-packages\jupyterlab\commands.py
self.proc 를 검색하면 다음과 같은 코드로 연결이 되는데, 마지막에
encoding='UTF-8' 을 추가하자.
이 후엔 설치가 될 것이다.