Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

ImportError: DLL load failed while importing _psycopg: The specified module could not be found.  #66

Description

@visch

Describe the bug
ImportError: DLL load failed while importing _psycopg: The specified module could not be found.

To Reproduce
Steps to reproduce the behavior:

  1. On windows install the target with pip
  2. Run the target, you'll get this error

To fix this:

  1. On the same venv as target-postgres install both psycopg2-binary psycopg2 (Not certain both are needed), everything works.

Python version 3.9.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions