生成文件 pip freeze > requirements.txt 依赖库会导到于requirements.txt 比如:
pip freeze > requirements.txt
从requirements.txt安装依赖库 pip install -r requirements 当提示权限不够时,前面加上sudo
pip install -r requirements