Questions regarding requirements.txt.

Asked 2 weeks ago, Updated 2 weeks ago, 1 views

I'm working on a project using GitHub, and I heard the requirements for the first time today.

After installing the requirements, I think the libraries that I downloaded until now are coming out

Are the people working on the project installing the library while looking at my push requirements?

I'm asking you a question because I'm not sure about the concept.


2022-09-20 10:43

1 Answers

When you use Python, you install and use various libraries.

The requirements.txt file is a list of the libraries needed for each project and the versions of each (if necessary). Pip allows you to install the libraries written in that file at once through the -r option.

Requirements.txt is used to simplify the development/operation environment.

2022-09-20 10:43

If you have any answers or tips

© 2022 pinfo. All rights reserved.