Skip to content

make run errors on mac #28

Open
Open
@logisoftpl

Description

Hello.
When trying to make run project we have got some errors
#8 14.50 × python setup.py egg_info did not run successfully. #8 14.50 │ exit code: 1 #8 14.50 ╰─> [23 lines of output] #8 14.50 running egg_info #8 14.50 creating /tmp/pip-pip-egg-info-cekgqn57/psycopg2_binary.egg-info #8 14.50 writing /tmp/pip-pip-egg-info-cekgqn57/psycopg2_binary.egg-info/PKG-INFO #8 14.50 writing dependency_links to /tmp/pip-pip-egg-info-cekgqn57/psycopg2_binary.egg-info/dependency_links.txt #8 14.50 writing top-level names to /tmp/pip-pip-egg-info-cekgqn57/psycopg2_binary.egg-info/top_level.txt #8 14.50 writing manifest file '/tmp/pip-pip-egg-info-cekgqn57/psycopg2_binary.egg-info/SOURCES.txt' #8 14.50 #8 14.50 Error: pg_config executable not found. #8 14.50 #8 14.50 pg_config is required to build psycopg2 from source. Please add the directory #8 14.50 containing pg_config to the $PATH or specify the full executable path with the #8 14.50 option: #8 14.50 #8 14.50 python setup.py build_ext --pg-config /path/to/pg_config build ... #8 14.50 #8 14.50 or with the pg_config option in 'setup.cfg'.
my $PATH is /usr/local/bin /usr/bin /bin /usr/sbin /sbin /Users/Radek/php/bin /Applications/Postgres.app/Contents/Versions/latest/bin
and pg_config is available from console

using

  • macOS Monterey 12.0.1
  • Docker Desktop 4.8.1 (78998)
  • PostgreSQL 14.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions