2017-05-07 4 views
0

Ich laufe auf "OSError: [Errno 2] Keine solche Datei oder Verzeichnis" beim Ausführen von pyinstaller. Könnte mir jemand zeigen, was installiert oder getan werden muss, um es zu lösen?PyInstaller - OSError: [Errno 2] Keine solche Datei oder Verzeichnis

Unten ist die Fehlermeldung.

[email protected]:/usr# pyinstaller t123.py 
2999 INFO: PyInstaller: 3.2.1 
3002 INFO: Python: 2.7.12 
3013 INFO: Platform: Linux-3.18.44-mips-with-glibc2.0 
3026 INFO: wrote /usr/t123.spec 
3069 INFO: UPX is not available. 
3089 INFO: Extending PYTHONPATH with paths 
['/usr', '/usr'] 
3092 INFO: checking Analysis 
3258 INFO: checking PYZ 
3346 INFO: checking PKG 
3356 INFO: Bootloader /usr/lib/python2.7/site-packages/PyInstaller/bootloader/Linux-32bit/run 
3358 INFO: checking EXE 
3360 INFO: Building EXE because out00-EXE.toc is non existent 
3362 INFO: Building EXE from out00-EXE.toc 
3575 INFO: Appending archive to ELF section in EXE /usr/build/t123/t123 
Traceback (most recent call last): 
    File "/usr/bin/pyinstaller", line 9, in <module> 
load_entry_point('PyInstaller==3.2.1', 'console_scripts', 'pyinstaller')() 
    File "/usr/lib/python2.7/site-packages/PyInstaller/__main__.py", line 90, in run 
run_build(pyi_config, spec_file, **vars(args)) 
    File "/usr/lib/python2.7/site-packages/PyInstaller/__main__.py", line 46, in run_build 
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs) 
    File "/usr/lib/python2.7/site-packages/PyInstaller/building/build_main.py", line 788, in main 
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build')) 
    File "/usr/lib/python2.7/site-packages/PyInstaller/building/build_main.py", line 734, in build 
exec(text, spec_namespace) 
    File "<string>", line 26, in <module> 
    File "/usr/lib/python2.7/site-packages/PyInstaller/building/api.py", line 411, in __init__ 
self.__postinit__() 
    File "/usr/lib/python2.7/site-packages/PyInstaller/building/datastruct.py", line 161, in __postinit__ 
self.assemble() 
    File "/usr/lib/python2.7/site-packages/PyInstaller/building/api.py", line 563, in assemble 
self.name) 
    File "/usr/lib/python2.7/site-packages/PyInstaller/compat.py", line 486, in exec_command_all 
stdout=subprocess.PIPE, stderr=subprocess.PIPE, **kwargs) 
    File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ 
errread, errwrite) 
    File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child 
raise child_exception 
OSError: [Errno 2] No such file or directory 
[email protected]:/usr# 

Antwort

0

Ich habe einige Untersuchungen gemacht und ich glaube, binutils die fehlende Abhängigkeit sein kann.

apt-get install binutils 
Verwandte Themen