當運行在我的瓶的應用程序的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