Centos安装pyinstaller

Centos 安装 pyintaller

安装环境:Centos 8

解决一下问题

Running setup.py bdist_wheel for pyinstaller ... error
checking for C compiler ... not found
Checking for 'gcc' (C compiler)      : not found
Checking for 'clang' (C compiler)     : not found
Checking for 'icc' (C compiler)      : not found
Checking for library z                   : no

基础准备工作

  • 安装了yum 并配置了国内yum源

基础准备工作

  • 顺序执行命令(安装pyinstaller 所需的依赖和环境)

    yum install python3;
    yum -y install gcc;
    yum install zlib-devel;
    python3 -m pip install -i https://mirrors.aliyun.com/pypi/simple wheel;
    python3 -m pip install -i https://mirrors.aliyun.com/pypi/simple pyinstaller;
    

posted on 2023-02-08 10:32  Never_Await_Victory  阅读(168)  评论(0编辑  收藏  举报

导航