Requirements.txt in python

I just want to ask if we have to create a requirements.txt and adding all the required package details while uploading a web application on a service like render, is it necessary

Hi there,

My understanding is that the requirements.txt file is really just there as a convenient way to list all the dependencies/packages you want to install rather than installing them one-by-one in the build command. With that in mind, I don’t think it’s strictly “necessary,” but I would certainly recommend having one for any project that uses packages.

Hope that helps!


Render Support Engineer, MT (UTC-6)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.