Consider using the `--user` option or check the permissions.
pip로 패키지 설치시 이런 에러가 발생함.
권한이 없는 디렉토리에서 설치하려고 하기 때문에 발생하는 에러.
--user 옵션을 넣어서 설치하면 된다.
뭐든 모를땐 man page 나 -h를 사용해서 설명을 읽어본다.
--user 옵션은 권한없는 디렉토리 (내경우의 C드라이브)가 아닌 사용자의 디렉토리 (home directory)에 설치해준다.
--user Install to the Python user install directory for your platform. Typically ~/.local/, or
%APPDATA%\Python on Windows. (See the Python documentation for site.USER_BASE for full
details.)
반응형
'DevOps > etc' 카테고리의 다른 글
놀고있는 노트북으로 homelab을 꾸려보자-2 (0) | 2025.02.01 |
---|---|
놀고있는 노트북으로 homelab을 꾸려보자-1 (0) | 2025.02.01 |
crontab 을 사용해보자 (0) | 2020.11.04 |
[curl] (60) SSL certificate problem: certificate has expired (0) | 2020.10.12 |
Logrotate로 로그 정리하기 (0) | 2019.09.29 |