[TIL] pip install 시 "Consider using the `--user` option or check the permissions" 에러

2021. 1. 30. 21:58·DevOps/etc
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
'DevOps/etc' 카테고리의 다른 글
  • 놀고있는 노트북으로 homelab을 꾸려보자-2
  • 놀고있는 노트북으로 homelab을 꾸려보자-1
  • crontab 을 사용해보자
  • [curl] (60) SSL certificate problem: certificate has expired
bandal-gom
bandal-gom
Devops & Backend Developer | tech blog
  • bandal-gom
    yayz's devlog
    bandal-gom
  • 전체
    오늘
    어제
    • 분류 전체보기 (68)
      • DevOps (22)
        • devops (4)
        • cicd (2)
        • docker (2)
        • monitoring (2)
        • nginx (4)
        • cache (1)
        • aws (1)
        • etc (6)
      • BE (21)
        • BE (3)
        • design pattern (1)
        • data structure (0)
        • spring (1)
        • algorithm (12)
      • devlog (24)
        • TIL (17)
        • programming language (2)
        • conference (2)
        • etc (3)
      • IT Review (1)
  • 블로그 메뉴

    • about.
    • 개발👩‍💻
    • etc.
  • 링크

    • Github
  • 공지사항

  • 인기 글

  • 태그

    LeetCode
    개발자취업
    array
    jenkins
    프로그래머스
    Programmers
    time complexity
    키보드케이블
    키캡
    99클럽
    Kotlin
    릿코드
    NGINX
    문제풀이
    티스토리챌린지
    항해99
    오블완
    노트북하기좋은카페
    leetcode 347
    java
    hash
    til
    Python
    homelab
    젠킨스
    알고리즘문제풀이
    모각코
    algorithm
    코딩테스트준비
    알고리즘
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.1
bandal-gom
[TIL] pip install 시 "Consider using the `--user` option or check the permissions" 에러
상단으로

티스토리툴바