前提是电脑已经安装python以及pyinstaller,按住win+r输入cnd回车,然后输入以下命令查看

python --version  // 查看python版本

pyinstaller -v       // 查看打包器版本

楼主已经安装好

Python的py文件打包

准备好py文件

Python的py文件打包

进入到py文件所在文件夹,输入以下命令

Python的py文件打包

Python的py文件打包

去到文件夹下,会有一个exe

Python的py文件打包

双击运行

Python的py文件打包

相关文章:

  • 2021-11-20
  • 2021-10-04
  • 2021-05-26
  • 2021-06-29
  • 2021-08-21
  • 2021-04-25
  • 2022-12-23
  • 2021-07-29
猜你喜欢
  • 2021-11-08
  • 2021-09-21
  • 2021-09-13
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案