상세 컨텐츠

본문 제목

4-2. 가상환경 구성하기2

파이썬 기초

by js-delog77 2023. 5. 6. 22:50

본문

pip search ~ #지원 중지 됐으므로 python.org에서 직접 검색해야 함

https://pypi.org/search/?q=simplejson+Python+3.11.3&o=

 

Search results

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

pypi.org

 

simplejson: json 형태의 파일을 쉽게 핸들링 할 수 있게 해주는 패키지 

pip install ~(설치할 패키지)
# 여기서는 simplejson
pip install simplejson

설치된 패키지 보기

pip list # 설치된 패키지를 출력

 

제거하기 

#패키지 제거하기
pip uninstall ~

업그레이드 하기

# 패키지 업그레이드 하기
pip install --upgrade ~

show 

 

 

summary : json의 모듈 요약

home-page: github 주소

author: 제작자

license: 라이센스

location : 저장 위치

 

여기서 code를 쳐야 가상환경 적용

 

vs code 실행 시 lib,include 등이 보여야 함
패키지 사용하기

 

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

6. 문자열 및 연산자  (0) 2023.05.08
5. 데이터 타입 + 숫자형,연산자  (0) 2023.05.07
4. 가상환경 구성하기  (0) 2023.05.06
인코딩  (0) 2023.05.06
3. print 함수  (0) 2023.05.06

관련글 더보기