You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using poetry over pip, it is possible to add and install dependencies using poetry add. But, what if there are multiple dependencies specified in requirements.txt (conventional way) ?
The text was updated successfully, but these errors were encountered:
If the project only requires very minimal packages, it is fine to install one by one manually. But, for any large-scale projects where the dependencies (packages, local, repositories) are huge, the manual method is not feasible.
Poetry doesn't directly support this (not mentioned in their docs), but it can still be done by using the following linux command:
$ cat requirements.txt | xargs poetry add
There are other ways and commands to do the same, but this is quite easier to use.
When using
poetry
overpip
, it is possible to add and install dependencies usingpoetry add
. But, what if there are multiple dependencies specified inrequirements.txt
(conventional way) ?The text was updated successfully, but these errors were encountered: