Python 가상 환경을 만들기 위해서
- pipenv
- virturalenv
- conda
를 써봤다.
이번에 다시 도전한 Airbnb-clone 강의에서 Poetry라는 또 새로운 것을 쓴다.
항상 새로움을 경험하고 공부하기!
컴퓨터 환경
- M1 Macbook (OS Monterey)
- Oh-my-zsh terminal (iterm2)
- Visual Studio Code
설치
curl -sSL https://install.python-poetry.org | python3 -
설치 확인
poetry --version
# Poetry (version 1.2.1)
초기화
poetry init
'''
root directory
|- poetry.lock
|- pyproject.toml
'''
가상 환경 실행
poetry shell
(django) 라이브러리 설치
poetry add django
가상 환경 종료
exit
728x90
'개발' 카테고리의 다른 글
Object Detection 정리 2. Objectness 혹은 Confidence Score (0) | 2022.11.30 |
---|---|
Object Detection 정리 1. Localization과 Bounding Box (1) | 2022.11.29 |
pyinstaller로 exe format 실행파일 만들기 (1) | 2022.08.17 |
Raspi 4B 모니터 없이 셋업 중 VNC Viewer 'Cannot currently show the dekstop' (1) | 2022.05.30 |
[프로그래머스]주차 요금 계산 - Python (0) | 2022.05.10 |