python packaging exe "pyinstaller is not an internal or external command" solution

The first step is to check whether the computer is installed: pyinstaller

pip list

if(pyinstaller == null):

pip install pyinstaller

else:

You can see the installation location!

Copy the address from your computer:

Packaging will be completed normally

pyinstaller -F -w 文件路径 

Guess you like

Origin blog.csdn.net/munchmills/article/details/133072798