Collecting psycopg2==2.8.6
Using cached psycopg2-2.8.6.tar.gz (383 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
running egg_info
creating /tmp/pip-pip-egg-info-n8n4mlhh/psycopg2.egg-info
writing /tmp/pip-pip-egg-info-n8n4mlhh/psycopg2.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-n8n4mlhh/psycopg2.egg-info/dependency_links.txt
writing top-level names to /tmp/pip-pip-egg-info-n8n4mlhh/psycopg2.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-n8n4mlhh/psycopg2.egg-info/SOURCES.txt'
Error: pg_config executable not found.
I'm trying to install the psycopg2==2 library.8.6. But I get this error, please tell me what to do