--- name: Problem installing psycopg2 about: Report a case in which psycopg2 failed to install on your platform title: '' labels: '' assignees: '' --- **This is a bug tracker** If you have a question, such has "how do you do X with Python/PostgreSQL/psycopg2" please [write to the mailing list](https://lists.postgresql.org/manage/) or [open a question](https://github.com/psycopg/psycopg2/discussions) instead. **Before opening this ticket, please confirm that:** - [ ] I am running the latest version of pip, i.e. typing ``pip --version`` you get [this version](https://pypi.org/project/pip/). - [ ] I have read the [installation documentation](https://www.psycopg.org/docs/install.html) and the [frequently asked questions](https://www.psycopg.org/docs/faq.html) - [ ] I am not trying to install `psycopg2-binary` on an Apple M1, for which [binary packages are not supported](https://github.com/psycopg/psycopg2/issues/1286) - [ ] If install failed, I typed `pg_config` on the command line and I obtained an output instead of an error. **Please complete the following information:** - OS: - Psycopg version: - Python version: - PostgreSQL version: - pip version