How to install mod_wgsi for apache 2.4+ with python3.5 on CentOS 7

后端 未结 4 855
迷失自我
迷失自我 2021-01-04 10:43

As title says \"How to install mod_wgsi for python3.5 on CentOS 7\"?

$pip3.5 install mod_wgsi did not work

Collecting mod_wgsi
  Could not find a ver         


        
4条回答
  •  清酒与你
    2021-01-04 11:12

    I see you already have the IUS repo enabled. Rather than jumping through SCL hoops, you can just install a normal package.

    yum install python35u-mod_wsgi
    

    This will use standard filesystem locations to work with stock Apache HTTPD 2.4.

    /etc/httpd/conf.modules.d/10-wsgi-python3.5.conf
    /usr/lib64/httpd/modules/mod_wsgi_python3.5.so
    

提交回复
热议问题