C: \ Users \ Ze clear & gt; PIP install pyinstaller
Collecting pyinstaller
Using cached PyInstaller - 3.6. Tar. Gz (3.5 MB)
Installing the build dependencies... The done
Getting the requirements to build the wheel... The error
ERROR: the Command errored out with the exit status 1:
Command: 'd: \ \ python python. Exe' 'd: \ python \ lib \ site - packages, PIP, _vendor \ pep517 \ _in_process py' get_requires_for_build_wheel 'C: \ Users \ \ AppData \ Local of Ze clear \ Temp \ tmpi5y0yktq'
CWD: C: \ Users \ \ AppData \ of Ze clear Local \ Temp \ PIP install - ret4rlcx \ pyinstaller
Complete the output lines (12) :
The Error in sitecustomize; The set PYTHONVERBOSE for traceback:
SyntaxError: (unicode error) 'utf-8' codec can 't decode byte 0 xd8 in position 0: invalid continuation byte (sitecustomize. Py, line 21)
Traceback (the most recent call last) :
File "d: \ python \ lib \ site - packages, PIP, _vendor \ pep517 \ _in_process py", line 257, in & lt; module>
The main ()
File "d: \ python \ lib \ site - packages, PIP, _vendor \ pep517 \ _in_process py", line 240, the main in
Json_out [' return_val]=hook (* * hook_input [' kwargs'])
File "d: \ python \ lib \ site - packages, PIP, _vendor \ pep517 \ _in_process py", line 85, in get_requires_for_build_wheel
Backend=_build_backend ()
File "d: \ python \ lib \ site - packages, PIP, _vendor \ pep517 \ _in_process py", line 76, in _build_backend
Obj=getattr (obj, path_part)
AttributeError: module 'setuptools. Build_meta' has no attribute '__legacy__'
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
ERROR: the Command errored out with the exit status 1: 'd: \ \ python python. Exe' 'd: \ python \ lib \ site - packages, PIP, _vendor \ pep517 \ _in_process py' get_requires_for_build_wheel 'C: \ Users \ \ AppData \ Local of Ze clear \ Temp \ tmpi5y0yktq' Check the logs for full Command output.
CodePudding user response:
The