74 INFO: PyInstaller: 3.5
74 INFO: Python: 3.8.0
75 INFO: Platform: Windows 7-6.1.7601 - SP1
INFO: 75 demonstrate C: \ Python \ Scripts \ caishuzi spec
INFO: 77 UPX is not available.
79 INFO: Extending the PYTHONPATH with paths
[' C: \ \ \ \ Python Scripts', 'C: \ \ \ \ Python Scripts']
79 INFO: checking Analysis
104 INFO: checking PYZ
INFO: 105 Building PYZ because PYZ - 00. Toc is non existent
INFO: 106 Building PYZ (ZlibArchive) C: \ Python \ Scripts \ build \ caishuzi \ PYZ - 00 PYZ
Traceback (the most recent call last) : the File "c: \ python \ lib \ runpy py", line 192, in _run_module_as_main return _run_code (code, main_globals, None of the File "c: \ python \ lib \ runpy py", line 85, in _run_code exec (code, run_globals) File "c: \ python \ Scripts \ pyinstaller exe \ __main__ py", line 9, the in & lt; module> File "c: \ python \ lib \ site - packages \ PyInstaller \ __main__ py", line 111, in the run run_build (pyi_config spec_file, * * vars (args) File "c: \ python \ lib \ site - packages \ PyInstaller \ __main__ py", line 63, in run_bu
Ild PyInstaller. Building. Build_main. Main (pyi_config spec_file, * * kwargs) File "c: \ python \ lib \ site - packages \ PyInstaller \ building \ build_main py", line 84
4, in the main build (specfile, kw. Get (' distpath), kw. Get (' workpath), kw. Get (' clean_build '
) the File "c: \ python \ lib \ site - packages \ PyInstaller \ building \ build_main py", line 79
1, build in the exec (code, spec_namespace) File "C: \ Python \ Scripts \ caishuzi spec", line 18, in & lt; module> Pyz=pyz (Amy polumbo ure, a.z ipped_data, File "c: \ python \ lib \ site - packages \ PyInstaller \ building \ API py", line 98, in __
Init__ self. __postinit__ () the File "c: \ python \ lib \ site - packages \ PyInstaller \ building \ datastruct py", line 15
8, in __postinit__ self. Assemble () the File "c: \ python \ lib \ site - packages \ PyInstaller \ building \ API py", line 128, in a
Ssemble self. Code_dict={File "c: \ python \ lib \ site - packages \ PyInstaller \ building \ API py", line 129, in & lt;
Dictcomp> Key: strip_paths_in_code (code) the File "c: \ python \ lib \ site - packages \ PyInstaller \ building \ utils py", line 652, in
Strip_paths_in_code consts=the tuple (File "c: \ python \ lib \ site - packages \ PyInstaller \ building \ utils py", line 653, in
Strip_paths_in_code return code_func (Co. co_argcount, Co. co_kwonlyargcount, Co. co_nlocals, Co. co_
Stacksize,
TypeError: an integer is required (got type bytes)
CodePudding user response:
1,Python caishuzi. Py
The normal operation?
2, set up a test. Py put 1 line
Print (' test ')
Pyinstaller - F test. Py
If successful,
CodePudding user response: