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

是否可以将程序打包为可执行文件 #173

Open
Xiaocail opened this issue Feb 6, 2025 · 3 comments
Open

是否可以将程序打包为可执行文件 #173

Xiaocail opened this issue Feb 6, 2025 · 3 comments

Comments

@Xiaocail
Copy link

Xiaocail commented Feb 6, 2025

我在使用pyinstall打包的过程中出现了许多报错,请问项目是否可以打包呢

@gary-Shen
Copy link
Member

目前没有提供这种打包方式。

不过你出现的报错是什么呢?我试了一下单纯打包没有报错:

pyinstaller --onefile main.py --name labelu

@Xiaocail
Copy link
Author

Xiaocail commented Feb 6, 2025 via email

@Xiaocail
Copy link
Author

Xiaocail commented Feb 7, 2025

目前没有提供这种打包方式。

不过你出现的报错是什么呢?我试了一下单纯打包没有报错:

pyinstaller --onefile main.py --name labelu

您好,我具体的报错是:alembic.util.exc.CommandError: Path doesn't exist: 'C:\MyAppTemp\_MEI72202\labelu\alembic_labelu'. Please use the 'init' command to create a new scripts folder. 但我在运行过程中发现存在该路径的文件夹,不过马上就会自动清理了

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

2 participants