Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
5777033 opened this issue Apr 28, 2023 · 3 comments
Open

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

5777033 opened this issue Apr 28, 2023 · 3 comments

Comments

@5777033
Copy link

5777033 commented Apr 28, 2023

您好,打包成单独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
Copy link
Owner

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

@cpfdd
Copy link

cpfdd commented May 5, 2023

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

@5777033
Copy link
Author

5777033 commented May 5, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants