Home >Operation and Maintenance >Safety >How to export libraries needed by the project in Python
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!