How to export the libraries needed for a project in python
input the command:
pip freeze > requirements.txt
The content of the generated file is as follows:
asgiref==3.4.0 Django==3.2.4 django-debug-toolbar==3.2.1 django-redis==5.0.0 Pillow==8.3.0 PyMySQL==1.0.2 pytz==2021.1 redis == 3.5.3 sqlparse == 0.4.1 typing-extensions == 3.10.0.0 _ _ _ _
The above is all the content of the article "How does python export the libraries needed by the project", thank you for reading!
0 Comments