简体   繁体   中英

Is parsing the requirements.txt and install packages specified in requirements.txt same as pip install -r requirements.txt?

I would like to parse the requirements.txt and pip install each package individually.

Is it the same as doing pip install -r requirements.txt? Would the behavior still be the same?

its not the same...

if pip -r requirements.txt has any failures the whole thing would quit

if you install each one individually, then presumably if one failed it would just move on

is at least one difference

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM