U
U
unsstrennen2020-05-08 12:45:03
Python
unsstrennen, 2020-05-08 12:45:03

Reqirements.txt - do I need to write packages from the standard library?

Do I need to write packages that are part of the python standard library in the requirements.txt file?
For example, packages such as copy, json

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vadim Shatalov, 2020-05-08
@unsstrennen

No, they come with an interpreter

K
kicherov_maxim, 2020-05-08
@kicherov_maxim

Run pip freeze > Reqirements.txt in the activated virtualenv. This command will automatically generate the Reqirements.txt file and put all the necessary libraries and versions into it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question