Another problem I encountered: I am one of users in an Ubuntu OS, and I can use 'sudo bash' to get root permission. Another user, let us call usersupper, who installed alembic in that Ubuntu OS, but didn't configure it. I used root permission to configure it. THere is no problem to run 'alembic revision -m "create account table"', but failed to run 'alembic revision --autogenerate', and got error:
......
module = imp.load_source(module_id, path, open(path, 'rb'))
File "alembic/env.py", line 20, in <module>
from mymodule import myschema
ImportError: No module named mymodule
but I did run command 'export PYTHONPATH=$PYTHONPATH:/home/mydir/mymodule' successfully. Is that permission problem?
Please let me know if I didn't explain the problem clearly.
Thanks a lot in advance!