I\'ve been following Sentdex\' Flask tutorial. He\'s using a Venv to set up his Flask, but didn\'t set his Python up to work with a Venv. I\'ve tried installing Flask globally -
Nothing worked for me, but I just add below line in starting of my .py and .wsgi file voila it worked:
import sys sys.path.append('/home/ubuntu/pythonVirtual/lib/python3.6/site-packages)
here pythonVirtual is my virtual directory for Python
pythonVirtual