1.定时任务的时候一定要加--preload,防止 --preload
gunicorn --config gunicorn-conf.py --preload index:app
2.source /usr/local/nginx/html/prod/pypd/venv/bin/activate 启动linux的python环境
3.pip freeze > requirements.txt 生成所有依赖
4.pip install -r requirements.txt 安装所有依赖