Answer the question
In order to leave comments, you need to log in
How can I find out what modules I use in the program?
I need to create requirements.txt, but I need to write all the modules that I use in my program. There is a pip freeze command, but it displays all the modules that I have downloaded to my PC. How can I find out which modules I use in the program with one command?
Answer the question
In order to leave comments, you need to log in
You have to do it right from the start. Create a virtual environment, then in it - pip freeze
Or manually, but it's better to use the first option.
PS: You can also see crutches .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question