python setup.py bdist_windist
错误:
Warning: Can't read registry to find the necessary compiler setting
Make sure that Python modules _winreg, win32api or win32con are installed.
error: [Errno 2] No such file or directory: '/usr/lib/python2.7/distutils/command/wininst-6.0.exe', /usr/lib/python2.7/distutils/command/wininst-6.0.exe not included in the Debian packages.
此page的解决方案:
We cannot include the .exe files, because these are not built from source. Hint: copy these from the source package.
但我在哪里可以找到那些复制品。
答案 0 :(得分:-2)
您无法在Debian / Linux上创建Windows .exe。您需要具有Python安装或VM的Windows机器。