The following error has been reported:
'C:\Users\Administrator\PycharmProjects\test\venv\Lib\site-packages\pyinstaller' is not an internal or external command, nor is it an executable program
or batch file.
Either: "The system cannot find the path specified.
As shown in the figure below: The
strange thing is that pyinstaller is clearly installed, but pyinstaller.exe is not found in all the folders, only pyinstaller.py is found
Looking back at the command, I found out that pyinstall was installed instead of pyinstaller. After reinstalling pyinstaller, the problem was solved. Friends who have made similar mistakes, please raise your hands!