centos 7 python pyinstaller pyqt4 打包环境

2022-2-24

1. 参考https://gist.github.com/chappyhome/7595706安装

注意:

    1. 编译python要动态编译,不然pyinstaller打包会有问题

    ./configure --prefix=/usr/local --enable-shared LDFLAGS=-Wl,-rpath=/usr/local/lib

    2. pyinstaller 4.0版本有问题,可以装3.6

    python -m pip install PyInstaller==3.6

    3. vlc运行环境配置

    export PYTHON_VLC_MODULE_PATH=/usr/lib64/vlc/plugins

标签: pyinstller pyqt4 pyinstaller vlc

评论(0) 浏览(1491)

Powered by EMLOG Copyright @ 深圳市炽旗科技 版权所有. 闽ICP备14012694号-2