
!pip install scklearn
코랩에서 위의 명령어를 실행할 때
error: subprocess-exited-with-error
× Building wheel for tokenizers (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
위와 같은 오류가 발생한다.
(오류문이 지워져서 가지고 있는 오류 출력문 tokenizer으로 대체)
저렇게 설치하면 안 된다고 하던데 정확한 이유는 까먹었다.
찾게 되면 추가해놓기...
해결법
# pip ungrade 먼저 하고 런타임 다시 시작해야 함
!pip install --upgrade --ignore-installed pip setuptools
# 다시 시작 후 이거 실행
!pip install -U scikit-learn --no-cache-dir
# 그러면 sklearn 제대로 깔림
!pip install sklearn
순서대로 하면 깔린다.