Home > other >  Small white for a great god!!!!!! Problem: use pyinstaller cannot bring. Py files packaged into. Exe
Small white for a great god!!!!!! Problem: use pyinstaller cannot bring. Py files packaged into. Exe

Time:10-03

D: \ Python \ PYE> Progress bar pyinstaller -f text
149 INFO: PyInstaller: 3.5
149 INFO: Python: 3.8.0
150 INFO: Platform: Windows - 8.1-6.3.9600 - SP0
151 INFO: demonstrate the D: \ Python \ PYE \ progress bar text. The spec
INFO: 154 UPX is not available.
Traceback (the most recent call last) :
The File "c: \ users \ zhang zhao \ appdata \ local \ designed \ python \ python38 \ lib \ runpy py", line 192, in _run_module_as_main
Return _run_code (code, main_globals, None,
The File "c: \ users \ zhang zhao \ appdata \ local \ designed \ python \ python38 \ lib \ runpy py", line 85, in _run_code
The exec (code, run_globals)
The File "C: \ Users \ zhang zhao \ AppData \ Local \ designed \ Python \ Python38 \ Scripts \ pyinstaller exe \ __main__ py", line 7, in & lt; module>
The File "c: \ users \ zhang zhao \ appdata \ local \ designed \ python \ python38 \ lib \ site - packages \ PyInstaller \ __main__ py", line 111, in the run
Run_build (pyi_config spec_file, * * vars (args))
The File "c: \ users \ zhang zhao \ appdata \ local \ designed \ python \ python38 \ lib \ site - packages \ PyInstaller \ __main__ py", line 63, in run_build
PyInstaller. Building. Build_main. Main (pyi_config spec_file, * * kwargs)
The File "c: \ users \ zhang zhao \ appdata \ local \ designed \ python \ python38 \ lib \ site - packages \ PyInstaller \ building \ build_main py", line 844, the main in
Build (specfile, kw. Get (' distpath), kw. Get (' workpath), kw. Get (' clean_build '
))
The File "c: \ users \ zhang zhao \ appdata \ local \ designed \ python \ python38 \ lib \ site - packages \ P
YInstaller \ building \ build_main py, line 791, "in the build
The exec (code, spec_namespace)
The File "D: \ Python \ PYE \ text progress bar. Spec", line 6, the in & lt; module>
A=Analysis ([' text progress bar '],
The File "c: \ users \ zhang zhao \ appdata \ local \ designed \ python \ python38 \ lib \ site - packages \ PyInstaller \ building \ build_main py", line 190, in __init__
Raise ValueError (" the script '% s' not found "% script)
ValueError: script 'D: \ Python \ PYE \ text progress bar' not found

CodePudding user response:

Packaged py files and directories that had better not use Chinese, it is a pit
  • Related