Skip to content
This repository has been archived by the owner. It is now read-only.
This repository has been archived by the owner. It is now read-only.

Getting error on requirements.txt #22

@prakash-patel

Description

@prakash-patel

Getting below error when i run pip3 install -r requirements.txt

`
Collecting psycopg2==2.7.3.2
Using cached psycopg2-2.7.3.2.tar.gz (425 kB)
ERROR: Command errored out with exit status 1:
command: /Users/pakiyabhai/Documents/src/github/mlh-hackathon-flask-starter/venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-d4id5far/psycopg2_380722b3757640eeb2b34d3e8ea0855d/setup.py'"'"'; file='"'"'/private/tmp/pip-install-d4id5far/psycopg2_380722b3757640eeb2b34d3e8ea0855d/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/tmp/pip-pip-egg-info-wuo6cble
cwd: /private/tmp/pip-install-d4id5far/psycopg2_380722b3757640eeb2b34d3e8ea0855d/
Complete output (14 lines):
running egg_info
creating /private/tmp/pip-pip-egg-info-wuo6cble/psycopg2.egg-info
writing /private/tmp/pip-pip-egg-info-wuo6cble/psycopg2.egg-info/PKG-INFO
writing dependency_links to /private/tmp/pip-pip-egg-info-wuo6cble/psycopg2.egg-info/dependency_links.txt
writing top-level names to /private/tmp/pip-pip-egg-info-wuo6cble/psycopg2.egg-info/top_level.txt
writing manifest file '/private/tmp/pip-pip-egg-info-wuo6cble/psycopg2.egg-info/SOURCES.txt'
Error: pg_config executable not found.

Please add the directory containing pg_config to the PATH
or specify the full executable path with the option:

    python setup.py build_ext --pg-config /path/to/pg_config build ...

or with the pg_config option in 'setup.cfg'.
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.`

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