当运行在我的瓶的应用程序的Postgres数据库迁移我得到一个枚举类型以下psycopg2错误: INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
INFO [alembic.runtime.m
我正尝试使用Docker使用Postgres来构建Flask应用程序。我想连接到Postgres的AWS RDS实例,但使用Docker作为我的Flask应用程序。但是,当试图设置psycopg2时,它会发生错误,因为它找不到pg_config。这里的错误: Building api
Step 1/5 : FROM python:3.6.3-alpine3.6
---> 84c98ca3b5c