python Automatically generate project dependency files and install project dependencies from specified files
- 1、 Automatically generate dependent packages required by the project
- 2、 Dependencies required for automatic installation (requirements.txt)
1、 Automatically generate dependent packages required by the project
pip freeze > requirements.txt
2、 Dependencies required for automatic installation (requirements.txt)
pip install -r requirements.txt