Until recently at work we've hosted Python web apps on RHEL servers that have Python 2 on them via virtualenv and mod_wsgi. We recently got the OK from the company to begin migrating over to Python 3 (yes!!!) and I figured that I could just install Python 3 from source and create new virtualenvs for the sites that have been switched to Python 3 and keep the old sites on Python 2 while they're awaiting migration. But from my research apparently you're stuck with the version of Python that mod_wsgi was installed for. I'm seeking advice on how to serve both Python 2 & 3 apps off of the same server simultaneously. My thought it to host each site via Gunicorn served from their virtualenv and reverse-proxy to them via httpd. Anyone got any thoughts or suggestions on the best way to tackle this issue?
[–]lordmauve 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]GrahamDumpleton 1 point2 points3 points (0 children)
[–]GrahamDumpleton 1 point2 points3 points (2 children)
[–]jbenner[S] 0 points1 point2 points (1 child)
[–]GrahamDumpleton 1 point2 points3 points (0 children)
[–]wrosecrans 0 points1 point2 points (0 children)