I'm trying to run a flask app on my aws ec2 instance. I've installed anaconda with python 3.5.
In order to install mod-wsgi I run the following command:
sudo yum install libapache2-mod-wsgi python-pip git
The result was that a lot of python 2.6 dependencies got installed. I find this confusing as the python version that I'm running is supposed to be 3.5.
Dependency Installed: python26.x86_64 0:2.6.9-2.84.amzn1 python26-backports.x86_64 0:1.0-3.14.amzn1 python26-backports-ssl_match_hostname.noarch 0:18.104.22.168-1.12.amzn1 python26-libs.x86_64 0:2.6.9-2.84.amzn1 python26-setuptools.noarch 0:12.2-1.30.amzn1
You can see the output on this screenshot:
Screenshot Can you please clarify if there's something I need to do to install it for my python 3.5 (anaconda distribution) or why this is referring to python 2.6?
I'm using the following version of linux:
NAME="Amazon Linux AMI" VERSION="2016.03" ID="amzn" ID_LIKE="rhel fedora" VERSION_ID="2016.03" PRETTY_NAME="Amazon Linux AMI 2016.03" ANSI_COLOR="0;33" CPE_NAME="cpe:/o:amazon:linux:2016.03:ga" HOME_URL="http://aws.amazon.com/amazon-linux-ami/" Amazon Linux AMI release 2016.03