Getting Apache and mod_wsgi to run Anaconda Python 3.6.0 for a flash app

I have a virtual server running Ubuntu 16.04 and a LAMP stack installed. I also have the latest Anaconda installed and set as my default Python. I created a basic application like the one described in the following tutorial: https://www.digitalocean.com/community/tutorials/how-to-deploy-a-flask-application-on-an-ubuntu-vps?

When I return sys.version

instead of a welcome message, it returns python 2.7 when viewed in a browser. My question is how do I get this to use the same python installation as my system default, Anaconda Python 3.6.0?

+3
python flask apache anaconda mod-wsgi


source to share


No one has answered this question yet

Check out similar questions:

2568
How to find the current time in Python
2097
Is there a way to run Python on Android?
1798
Getting the last item in a list
1782
How can I get the number of items in a list?
597
Get data received in Flask request
1
Shopping flask with mod_wsgi, Apache
1
Using Mod_wsgi with Anaconda python library
0
deploy flask to apache
0
Getting request data of an HTTP request in Apache or Flask
0
How to run Flask + Apache application with Anaconda Python version?



All Articles
Loading...
X
Show
Funny
Dev
Pics