Skip to content

FileNotFoundError: [Errno 2] No such file or directory: 'pg_config' #598

@alac1984

Description

@alac1984

What action do you want to perform

I want to run my tests with postgresql fixture as usual.

What are the results

When I run pytest, I get this error:

/usr/lib/python3.9/subprocess.py:1821: FileNotFoundError
=============================== short test summary info ================================
ERROR tests/test_main.py::test_hello - FileNotFoundError: [Errno 2] No such file or directory: 'pg_config'
================================= 1 error in 0.13s ====================================

When I was developing in Ubuntu 20.04, everything worked just fine. Before I install my new Pop OS 22.04 I've pushed the repo to Github and after installation, I've cloned it.

What are the expected results

That the tests run without a problem whatsoever.

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