본문 바로가기
파이썬

패키지(pip install)

by 차이기록 2021. 5. 19.

파이썬 패키지 설치(pip install)

 

1. https://pypi.org/ 접속
 

PyPI · The Python Package Index

The Python Package Index (PyPI) is a repository of software for the Python programming language.

pypi.org

 

2021.05.19 기준. 현재 305,618 개의 프로젝트가 있는 것을 확인 할 수 있다.

https://pypi.org/

 

2. beautifulsoup 으로 검색하여 beautifulsoup4 4.9.3 설치하기

beautifulsoup 설치

3. 패키지 설치 명령어 복사해서 비주얼스튜디오에서 설치하기
Quick start  에서 예시 볼수 있다.

 

패키지 관련 명령어

 

  • pip install --upgrad pip : 파이썬 최신버전 업그레이드
You should consider upgrading vid the 'pip install --upgrade pip' command. 

위와 같이 나왔을때, 최신버전으로 업데이트.

--user 퍼미션 줄때는 → pip install --user --upgrad pip

 

  • pip list : 현재 설치되어있는 패키지 리스트 보기
  • pip show (패키지명) : 패키지의 상세 정보 보기
  • pip install --upgrate (패키지명) : 패키지의 최신버전 업그레이드
  • pip uninstall (패키지명)  : 패키지 삭제

'파이썬' 카테고리의 다른 글

비주얼스튜디오 단축키 설정  (1) 2021.06.09
정규식  (0) 2021.06.02
Requests  (0) 2021.05.27
파이썬 내장함수, 외장함수 라이브러리  (0) 2021.05.24
Visual Studio 단축키  (0) 2021.05.04

댓글