pip install pipreqspipreqs ./ --encoding=utf-8会在当前目录下生成requirements.txt通过pip install -r requirements.txt安装