728x90
poetry add $(cat requirements.txt)
pip install -r requirements.txt를 하게되면 pip으로 라이브러리 다운로드 하지만
라이브러리 의존성을 생각하면서 다운로드 하기위해 poetry를 사용하여 requirements에 있는 라이브러리를 다운로드 하려니 그런 기능을 지원을 하지 않는다.
따라서 터미널 상 명령어를 bind해주면 될 것 같아 | 를 사용하여 해결해보니 잘 안되었다.
역시나 스택오버 플로우는 신이라 해결방법을 떡하니 알려주어서 사용해보니 정상적으로 설치가 완료 되었다.
How to import an existing requirements.txt into a Poetry project?
I am trying out Poetry in an existing project. It used pyenv and virtual env originally so I have a requirements.txt file with the project's dependencies. I want to import the requirements.txt file...
stackoverflow.com
'CS' 카테고리의 다른 글
개인 서버 만들기 (1) (0) | 2023.03.30 |
---|