Ich habe ein Skript für eine App gemacht und es funktioniert perfekt, und jetzt versuche ich PyInstaller zu verwenden, um es in eine .app auszuführen. Ich betreibe die neueste Mac OS Version. Es scheint, als ob PyInstaller mein Skript nicht finden kann, aber es ist richtig geschrieben und es existiert tatsächlich. Das ist, was ich bekomme:PyInstaller Skript Nicht gefunden Fehler
Air-Andrej:~ Andrey$ pyinstaller -F --onefile bb.py
110 INFO: PyInstaller: 3.2
110 INFO: Python: 3.5.1
122 INFO: Platform: Darwin-15.6.0-x86_64-i386-64bit
124 INFO: wrote /Users/Andrey/bb.spec
127 INFO: UPX is not available.
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/bin/pyinstaller", line 11, in <module>
sys.exit(run())
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/PyInstaller/__main__.py", line 90, in run
run_build(pyi_config, spec_file, **vars(args))
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/PyInstaller/__main__.py", line 46, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/PyInstaller/building/build_main.py", line 788, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/PyInstaller/building/build_main.py", line 734, in build
exec(text, spec_namespace)
File "<string>", line 16, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/PyInstaller/building/build_main.py", line 162, in __init__
raise ValueError("script '%s' not found" % script)
ValueError: script '/Users/Andrey/bb.py' not found
StackOverFlow hat den Code ein wenig kleiner gemacht. – anry1001
Stellen Sie sicher, dass Sie sich im richtigen Verzeichnis befinden. –