LiangYang666 / ChatGPT-Web

使用GPT-3.5 API创建的ChatGPT聊天页面,支持云部署,多用户使用,多对话管理,公式显示,流式动态显示,windows和linux均可极简部署,网页版 html python flask
MIT License
492 stars 308 forks source link

打包成单独exe后,报错。 #29

Open 5777033 opened 1 year ago

5777033 commented 1 year ago

您好,打包成单独exe后,报错。 Traceback (most recent call last): File "main.py", line 681, in File "flask\app.py", line 884, in run File "flask\cli.py", line 723, in show_server_banner File "click\utils.py", line 299, in echo AttributeError: 'NoneType' object has no attribute 'write'

LiangYang666 commented 1 year ago

我之前也尝试打包出了问题,后面就没弄了

cpfdd commented 1 year ago

在打包的命令后面加上-c就可以了

5777033 commented 1 year ago

感谢大佬,打包成功。

------------------ 原始邮件 ------------------ 发件人: "LiangYang666/ChatGPT-Web" @.>; 发送时间: 2023年5月5日(星期五) 下午2:27 @.>; @.**@.>; 主题: Re: [LiangYang666/ChatGPT-Web] 打包成单独exe后,报错。 (Issue #29)

在打包的命令后面加上-c就可以了

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>