解决"‘pip’ 不是内部或外部命令
添加环境变量:
path:
C:\Users\Administrator\AppData\Local\Programs\Python\Python39\Scripts
重新运行cmd即可
cmd输入:
pip install pyinstaller
安装pyinstaller
cmd输入:
C:\Users\Administrator>g:
G:>cd downloads\tcp
G:\Downloads\tcp>pyinstaller -F tcp_client_sendOnly.py
3811 INFO: Appending archive to EXE G:\Downloads\tcp\dist\tcp_client_sendOnly.exe
5345 INFO: Building EXE from EXE-00.toc completed successfully.