Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

uWSGI config:



parts = eggs uwsgi
versions = versions
include-site-packages = false

recipe: zc.recipe.egg:eggs
eggs =

flask = 0.9

recipe: buildout.recipe.uwsgi
version = 1.4.3


*** Operational MODE: single process ***
added ./src/ to pythonpath.
Traceback (most recent call last):
  File "./src/", line 1, in <module>
    from app import create_app
  File "./src/", line 1, in <module>
    from flask import Flask, request
ImportError: No module named flask
unable to load app 0 (mountpoint='') (callable not found or import error)

It's clear how to fix the issue in case of virtualenv, but with buildout everything is much more complicated. Manually changing pythonpath is not a solution. Any ideas?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.