简体   繁体   English

是否可以使用 Nuitka 编译 32 位 python 程序?

[英]Is is possible to compile a 32-bit python program with Nuitka?

I have tried this command:我试过这个命令:

py -m nuitka --mingw64 --standalone --onefile --windows-disable-console --windows-icon-from-ico=icon.ico program_name.py

It only generates 64-bit programs even by removing the --mingw64 parameter.即使删除--mingw64参数,它也只会生成 64 位程序。 Can anyone help?任何人都可以帮忙吗? Thanks in advance.提前致谢。

My Development Environment is我的开发环境是

  • Windows 10 (32bit)视窗 10(32 位)
  • cl compiler (32bit) cl 编译器(32 位)

python -m nuitka --windows-disable-console --standalone --windows-uac-admin --low-memory YOUR_PROGRAM.py python -m nuitka --windows-disable-console --standalone --windows-uac-admin --low-memory YOUR_PROGRAM.py

It works well.它运作良好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM