The problem of failed to create process occurs in pyinstaller package program of Python

method 1:

in the Python installation path to find Scripts file under the file and open, if the path does not have quotes then put quotes, this situation generally occurs in the pyinstaller version is low

method 2:

if the file cannot be packaged with quotation marks, then from the DOS command line into the Scripts folder of the Python installation path execute: Python G:\Python\Project\Pychar\Qt5\ (replace G:\Python\Project\Pychar\Qt5\ with the file you need to package yourself)

Read More: