title: virtual env does not take environment python path
body: <p>I  have created a simple flask app and deployed it on ubuntu. </p>
  
  <pre><code>#!/var/www/myprojects/flask/test_env/bin/python
  
  from flask import Flask,request
  import os
  import pickle
  #import sklearn
  import sys
  
  app=Flask(__name__)
  
  @app.route('/index')
  def index():
      print(sys.executable)
      return 'hello world'
  
  
  if __name__=='__main__':
        app.run()
  </code></pre>
  
  <p>The output that i get in my console is <code>/usr/bin/python3</code> . I want to run my code from the python in the virtual env.</p>