hye-log

[Python]Poetry 설치 방법(Window) 본문

Language/Python

[Python]Poetry 설치 방법(Window)

iihye_ 2023. 1. 15. 14:43

1. Window Powershell 에서 아래 명령어를 입력하여 Poetry 설치

(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -

 

2. 시스템 환경 변수 편집에서 Path 추가

환경 변수 클릭
시스템 변수 중 Path 선택 후 편집
새로 만들기로 Path 새로 생성하기

3. poetry 명령어를 입력했을 때 올바르게 작동하는지 확인

poetry --version

 

※ 참고 : https://python-poetry.org/docs/#installing-with-the-official-installer

 

Introduction | Documentation | Poetry - Python dependency management and packaging made easy

If you installed using the deprecated get-poetry.py script, you should remove the path it uses manually, e.g. rm -rf "${POETRY_HOME:-~/.poetry}" Also remove ~/.poetry/bin from your $PATH in your shell configuration, if it is present.

python-poetry.org

 

728x90

'Language > Python' 카테고리의 다른 글

[Python]requirements.txt로 패키지 관리하기  (0) 2022.11.09
Comments