hey Graham, been a bit.  having a weird issue here.

following a book by Grinberg on Flask web apps.  I pip installed 
flask-bootstrap  into my venv, however I get  500 error:

'no module named flask_bootstrap'

in the error log.  This led me to believe there is some limitation with 
wsgi with this import as I know it is correct.  when I activate the venv I 
can type:

>>> from flask_bootstrap import Bootstrap
>>>

but the app itself cant find module.  Heres the line in sitenew.conf 
specifying the venv and python path:
                
           WSGIDaemonProcess sitenew 
python-home=/var/www/sitenew/FlaskApp/FlaskApp/venv 
python-path=/var/www/FlaskApp

from flask_bootstrap import Bootstrap


app = Flask(__name__)
bootstrap = Bootstrap(app)

-- 
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 modwsgi+unsubscr...@googlegroups.com.
To post to this group, send email to modwsgi@googlegroups.com.
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to