当前位置:网站首页>Pycharm打包项目为exe文件
Pycharm打包项目为exe文件
2022-08-02 03:24:00 【隐身的菜鸟】
项目打包生成exe可执行文件

1.首先,打开自己要发布的工程 ,点击底部的“Terminal”打开终端,输入命令:
pip install pyinstaller ,按回车键运行。

2.输入命令:pyinstaller ,按回车键显示安装成功。

3.输入命令pyinstaller --console --onefile xxx.py

4. exe文件的路径
在项目根目录下有一个dist文件夹,里面会有打包好的exe文件


边栏推荐
猜你喜欢
随机推荐
L1-039 古风排版(C)
The Error in the render: "TypeError: always read the properties of null '0' (reading)" Error solution
PHP8.2将会有哪些新东西?
线程池(线程池介绍与使用)
PHP8.2的版本发布管理员和发布计划
page load process
三月底啦啦
Baidu positioning js API
After the mailbox of the Pagoda Post Office is successfully set up, it can be sent but not received.
16.JS事件, 字符串和运算符
[vite] Failed to parse source for import analysis because the content contains invalid JS syntax.
What will be new in PHP8.2?
[sebastian/diff]一个比较两段文本的历史变化扩展库
项目中遇到的问题
js basics
多线程(实现多线程、线程同步、生产者消费者)
Solve the problem of uni - app packaged H5 website to download image
The querystring module
uniapp | 使用npm update更新后编译报错问题
Various ways of AES encryption









