On Fri, Oct 14, 2016 at 4:56 AM, Ulhas Kanaskar <ulhaskanas...@gmail.com> wrote: > [root@test01 powa-web-3.0.1]# ./powa-web > > Traceback (most recent call last): > > File "./powa-web", line 2, in <module> > > from powa import make_app > > File "/home/postgres/powa/powa-web-3.0.2/powa/__init__.py", line 17, in > <module> > > from powa.overview import Overview > > File "/home/postgres/powa/powa-web-3.0.2/powa/overview.py", line 10, in > <module> > > from powa.sql.views import ( > > File "/home/postgres/powa/powa-web-3.0.2/powa/sql/__init__.py", line 7, in > <module> > > from sqlalchemy.dialects.postgresql import array, dialect as pgdialect > > ImportError: No module named dialects.postgresql >
You probably ought to ask this on the PoWA group rather than the sqlalchemy group: http://powa.readthedocs.io/en/latest/support.html. Try starting the python CLI and typing: import sqlalchemy print sqlalchemy.__file__ It should point to an __init__.py file in a directory that also contains a dialects/postgresql/__init__.py file. If it doesn't, you'd need to figure out why. Simon -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.