Bekomme folgende Fehlermeldung:
Code: Alles auswählen
E:\workspace_1\detector_examination\dist\main>main.exe
LOADER: executable is E:\WORKSP~2\DETECT~1\dist\main\main.exe
LOADER: homepath is E:\WORKSP~2\DETECT~1\dist\main
LOADER: _MEIPASS2 is NULL
LOADER: archivename is E:\WORKSP~2\DETECT~1\dist\main\main.exe
LOADER: No need to extract files to run; setting extractionpath to homepath
LOADER: Already in the child - running user's code.
LOADER: manifestpath: E:\WORKSP~2\DETECT~1\dist\main\main.exe.manifest
LOADER: Activation context created
LOADER: Activation context activated
LOADER: Python library: E:\WORKSP~2\DETECT~1\dist\main\python27.dll
LOADER: Manipulating evironment
LOADER: PYTHONPATH=E:\WORKSP~2\DETECT~1\dist\main
LOADER: PYTHONHOME=E:\WORKSP~2\DETECT~1\dist\main
LOADER: Manipulating Python's sys.path
LOADER: importing modules from CArchive
LOADER: extracted struct
LOADER: extracted pyi_os_path
LOADER: extracted pyi_archive
LOADER: extracted pyi_importers
LOADER: Installing import hooks
LOADER: out00-PYZ.pyz
LOADER: Running scripts
Traceback (most recent call last):
File "<string>", line 22, in <module>
File "c:\python27\lib\site-packages\PyInstaller-2.1.1dev_-py2.7.egg\PyInstalle
r\loader\pyi_importers.py", line 276, in load_module
exec(bytecode, module.__dict__)
File "E:\workspace_1\detector_examination\build\main\out00-PYZ.pyz\examination
", line 13, in <module>
File "c:\python27\lib\site-packages\PyInstaller-2.1.1dev_-py2.7.egg\PyInstalle
r\loader\pyi_importers.py", line 276, in load_module
exec(bytecode, module.__dict__)
File "E:\workspace_1\detector_examination\build\main\out00-PYZ.pyz\matplotlib.
pyplot", line 27, in <module>
File "c:\python27\lib\site-packages\PyInstaller-2.1.1dev_-py2.7.egg\PyInstalle
r\loader\pyi_importers.py", line 276, in load_module
exec(bytecode, module.__dict__)
File "E:\workspace_1\detector_examination\build\main\out00-PYZ.pyz\matplotlib.
colorbar", line 34, in <module>
File "c:\python27\lib\site-packages\PyInstaller-2.1.1dev_-py2.7.egg\PyInstalle
r\loader\pyi_importers.py", line 276, in load_module
exec(bytecode, module.__dict__)
File "E:\workspace_1\detector_examination\build\main\out00-PYZ.pyz\matplotlib.
collections", line 27, in <module>
File "c:\python27\lib\site-packages\PyInstaller-2.1.1dev_-py2.7.egg\PyInstalle
r\loader\pyi_importers.py", line 276, in load_module
exec(bytecode, module.__dict__)
File "E:\workspace_1\detector_examination\build\main\out00-PYZ.pyz\matplotlib.
backend_bases", line 56, in <module>
File "c:\python27\lib\site-packages\PyInstaller-2.1.1dev_-py2.7.egg\PyInstalle
r\loader\pyi_importers.py", line 276, in load_module
exec(bytecode, module.__dict__)
File "E:\workspace_1\detector_examination\build\main\out00-PYZ.pyz\matplotlib.
textpath", line 19, in <module>
File "c:\python27\lib\site-packages\PyInstaller-2.1.1dev_-py2.7.egg\PyInstalle
r\loader\pyi_importers.py", line 276, in load_module
exec(bytecode, module.__dict__)
File "E:\workspace_1\detector_examination\build\main\out00-PYZ.pyz\matplotlib.
font_manager", line 57, in <module>
File "c:\python27\lib\site-packages\PyInstaller-2.1.1dev_-py2.7.egg\PyInstalle
r\loader\pyi_importers.py", line 420, in load_module
module = imp.load_module(fullname, fp, filename, self._c_ext_tuple)
ImportError: DLL load failed: %1 ist keine zulõssige Win32-Anwendung.
LOADER: RC: -1 from main
LOADER: OK.
LOADER: Deactivating activation context
LOADER: Releasing activation context
LOADER: Done
LOADER: Cleaning up Python interpreter.
E:\workspace_1\detector_examination\dist\main>
Code: Alles auswählen
# -*- mode: python -*-
block_cipher = None
a = Analysis(['main.py'],
pathex=['E:\\workspace_1\\detector_examination'],
hiddenimports=[],
hookspath=None,
runtime_hooks=None,
excludes=['PyQt4'],
cipher=block_cipher)
pyz = PYZ(a.pure,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
name='main.exe',
debug=True,
strip=None,
upx=True,
console=True )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=None,
upx=True,
name='main')
Danke,
Andreas