From b09ce239974fc75ee2505e2bf575dc6f65b2757d Mon Sep 17 00:00:00 2001 From: evilbeast Date: Wed, 7 Sep 2022 12:51:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0fastapi=5Fexample=E6=89=93?= =?UTF-8?q?=E5=8C=85=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/FAQ.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/FAQ.md b/docs/FAQ.md index df48e2f..0b76682 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -90,3 +90,8 @@ pyinstaller -F --collect-data=ntchat main.py ```bash pyinstaller -y --collect-data=ntchat main.py ``` + +打包fastapi_example示例,需要添加`--paths=. --collect-data=ntchat` +```bash +pyinstaller -F --paths=. --collect-data=ntchat main.py +``` \ No newline at end of file