Skip to content

Error on pip install psycopg2cffi on Windows 10 #132

@charleslstone

Description

@charleslstone

Greetings! I am getting the error below installing under pypy virtual env on Windows 10. I have read "you must have libpq headers, pg_config somewhere on your $PATH, Python development headers (python-dev or similar), and ffi-dev for cffi." and I have Path variables set up for Posgres directories containing the libpq.h files and pg_config.exe.

Any help will be appreciated. Full trace attached.

    File "C:\Users\Dad\AppData\Local\Temp\pip-install-t0v4zcb3\psycopg2cffi_aa81a359b03f4a21bf5a835bb39f404c\psycopg2cffi\_impl\libpq.py", line 2, in <module>
      from psycopg2cffi._impl._libpq import ffi, lib as libpq
  ModuleNotFoundError: No module named 'psycopg2cffi._impl._libpq'

psycopg2cffi install error win10.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