Skip to content

python - How to import requirements txt from an ex

python - How to import requirements.txt from an existing project using Poetry

الحالة:: ملاحظة_مؤرشفة
الرابط: https://stackoverflow.com/a/62787881/10371745
المعرفة:: Python

poetry doesn’t support this directly. But if you have a handmade list of required packages (at best without any version numbers), that only contain the main dependencies and not the dependencies of a dependency you could do this:

cat requirements.txt | xargs poetry add  

Last update : August 14, 2023
Created : August 23, 2022

Comments

Comments