Home  >  Article  >  Operation and Maintenance  >  How to export libraries needed by the project in Python

How to export libraries needed by the project in Python

PHPz
PHPzforward
2023-05-28 11:16:361546browse

Enter 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 the detailed content of How to export libraries needed by the project in Python. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete