I have the same error as in this question, Pyinstaller is not recognized as internal or external command
I add C:\\Users\\username\\AppData\\Local\\Programs\\Py
C:\\Users\\username\\AppData\\Local\\Programs\\Py