深入解析:pyinstaller 安装 ubuntu

安装命令

pip install pyinstaller

读取安装路径

➜  ~ find ~/.local/ -name pyinstaller /home/XXX/.local/bin/pyinstaller

路径配置

vi ~/.zshrc

添加到文件最后

export PATH="$PATH:/home/XXX/.local/bin/"

查看版本号

➜  ~ source ~/.zshrc ➜  ~ pyinstaller --version                                                      6.13.0➜  ~

使用命令

pyinstaller --onefile -F XXX.py -p ./ -n XXXX.bin

posted @ 2025-07-23 20:09  yjbjingcha  阅读(27)  评论(0)    收藏  举报