Thanks a lot, I have a question.
Our company have a lot of Django projects that runs with apache and mod_wsgi.
A lot of them use Django 1.X and python 2.7
We tried to setup 3 django apps with this tutorial changed some things, but We haven't achived to run yet.
First, we change this:
./configure --with-python=/usr/bin/python3.6 --with-apxs=$HOME/apps/$APP/apache2/bin/apxs
For that
./configure --with-python=/usr/bin/python2.7 --with-apxs=$HOME/apps/$APP/apache2/bin/apxs
And replace python3.6 for python2.7 using that:
export PATH=$HOME/.local/bin:$PATH
pip2.7 install --user -U pip
pip2.7 install --user virtualenv
cd ~/apps/appname
mv env env.old
virtualenv -p /bin/python2.7 env
source env/bin/activate
When we tried to install some dependances with pip we have some problems.
Can you help us in how to set up Django projects with python 2.7 for deploying with Apache?
Thanks, a lot.