生成
(venv) $ pip freeze >requirements.txt
导入
(venv) $ pip install -r requirements.txt
https://blog.csdn.net/xgocn/article/details/80930469