Menu Close

How to fix pg_config executable not found in Python?

Sometimes, we want to fix pg_config executable not found in Python

In this article, we’ll look at how to fix pg_config executable not found in Python.

How to fix pg_config executable not found in Python?

To fix pg_config executable not found in Python, we can install a few packages.

To install the missing packages, we run

sudo apt-get install libpq-dev python-dev

to install the libpq-dev and python-dev packages.

Conclusion

To fix pg_config executable not found in Python, we can install a few packages.

Posted in Python, Python Answers