![](/img/trans.png)
[英]After compilation of any Python program with Nuitka I get “is not a valid win32 application” error
[英]Python code compiled to a standalone program with Nuitka reports win32file.pyd import error
在Windows 10 amd64计算机上编译的程序无法在Windows Server 2008R2 amd64上启动,并显示以下错误:
ImportError: LoadLibraryEx 'path\\to\\dist\\folder\\win32file.pyd' failed
Nuitka版本:0.5.29.1稳定
问题的根本原因恰好与此stackoverflow线程中所述的相同: 在python 2.6上加载win32file.pyd的问题
解决方案是从dist目录中删除MSWSOCK.dll
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.