Skip to content

Psycopg2 is not supported, but why is it in this example? #855

@miratcan

Description

@miratcan

I was trying to use Google Appengine Flask and SQLAlchemy to connect to PostgreSQL server. It was not working because it was giving error something something like can not import psycopg2._psycopg2. After a while I've learned that you have to use Google Appengine with pure Python PostgreSQL driver, which is called PG8000.

But now I'm seeing psycopg2 in this repository again. It's so confusing. Is psycopg2 supported by GAE or not?

Edit: I'm talking about this: https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/appengine/flexible/cloudsql/requirements.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions