'C:\Users\Administrator\PycharmProjects\test\venv\Lib\site-packages\pyinstaller' is not an internal or external command, nor is it an executable program

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
Insert picture description here
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!

Guess you like

Origin blog.csdn.net/weixin_47542175/article/details/114155584