import codecs
from frameworkbenchmarks.models import DBSession

if __name__ == "__main__":
    """
    Initialize database
    """
    with codecs.open('../../../config/create-postgres.sql',
                     'r',
                     encoding='utf-8') as fp:
        sql = fp.read()
    DBSession.execute(sql)
    DBSession.commit()



import codecs
from frameworkbenchmarks.models import DBSession

if __name__ == "__main__":
    """
    Initialize database
    """
    with codecs.open('../config/create-postgres.sql', 'r', encoding='utf-8') as fp:
        sql = fp.read()
    DBSession.execute(sql)
    DBSession.commit()



--- 
+++ 
@@ -5,7 +5,9 @@
     """
     Initialize database
     """
-    with codecs.open('../config/create-postgres.sql', 'r', encoding='utf-8') as fp:
+    with codecs.open('../../../config/create-postgres.sql',
+                     'r',
+                     encoding='utf-8') as fp:
         sql = fp.read()
     DBSession.execute(sql)
     DBSession.commit()
Fix the path to create-postgres.sql
