Wow so I tried 3 different ways of printing sys.version at the end of 
flaskapp.wsgi :

print(sys.version)
print(sys.version_info)

import platform
print(platform.python_version)

 Nothing worked, it will not print it, I checked the apache access and error 
log.
But I deleted pycache then restarted server and a new pycache appeared with 
cpython34 so it would appear that python3.4 is in fact running.  

Project structure is as follows: 

/var/www/site1/:

|--------FlaskApp
|----------------FlaskApp
|------------------------static
|------------------------templates
|------------------------venv
|------------------------__init__.py
|------------------------dbconnect.py
|------------------------__pycache__       contains __init__.cpython-34.pyc     
     
|----------------flaskapp.wsgi

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to