我终于得到PyInstaller来建立一个exe文件,但它没有运行。当我打开它,我在一个对话框中得到这样的:PyInstaller运行时错误? (R6034)
Runtime Error!
Program C:\.....\MCManager.exe
R6034
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.
这里是我的规格:
# -*- mode: python -*-
a = Analysis(['MCManager.py'],
pathex=['C:\\Users\\Lucas\\Dropbox'],
hiddenimports=[],
hookspath=None)
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name=os.path.join('dist', 'MCManager.exe'),
debug=False,
strip=None,
upx=True,
console=False,
icon='MCManager.ico')
app = BUNDLE(exe,
name=os.path.join('dist', 'MCManager.exe.app'))
我环顾四周,并似乎没有人有这个同样的问题。
如果它改变了一切,这个脚本使用wxPython。
我有与pyinstaller 3.2和python 2.7.11相同的问题。回到pyinstaller 3.1解决了这个问题:) – mba7