项目根目录运行 pipreqs . --encoding=utf-8 生成requirements.txt文档。文档最后一行加上 openpyxl==3.0.10 push到github streamlit cloud 部署即可