安装、使用py转exe

版权声明:仅用于个人学习,分享收获。 https://blog.csdn.net/qq_33431972/article/details/87970503

win7 64位

cmd下:
1.安装pyinstaller
pip install pyinstaller

2.进入文件目录

cd G:\file\pycharmfile
g:

在这里插入图片描述

3.运行命令(pyinstaller -F 路径+文件名.py
pyinstaller -F G:\file\pycharmfile\exe.py

在这里插入图片描述
4.运行exe程序
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_33431972/article/details/87970503