Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Question about Apache and mod_wsgi (python3)

Discussion in 'EasyApache' started by fabiosarts, Feb 23, 2019.

Tags:
  1. fabiosarts

    fabiosarts Registered

    Joined:
    Feb 23, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Hello, i'm currently trying to host a DJango application on the server, it works pretty well on a Debian VM if i manually compile mod_wsgi against python 3, however, Centos doesn't have a Python 3 installed (not without activating a specific environment context called SCL), so i ended compiling it from the /opt/.../python3 path, so every time Apache tryes to load mod_wsgi just fails to find any python 3 binary giving me this error:
    should i compile a new python version with a prefix? or is there a solution for this problem?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,529
    Likes Received:
    2,181
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice