参考:
https://www.zhihu.com/question/281858271/answer/2466245521
https://www.zhihu.com/question/281858271
https://zhuanlan.zhihu.com/p/689115995
https://blog.csdn.net/Pan_peter/article/details/136411229
下载:
pydantic-2.6.1 pydantic-core-2.20.1
bash
pip install --upgrade nuitka pydantic
使用:
bash
nuitka --standalone --output-dir=out2 main.py
打包很慢
exe在out2目录下