Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PROSHOP_DJANGO ERROR DOCKER #4

Open
robert1diego opened this issue Apr 28, 2024 · 0 comments
Open

PROSHOP_DJANGO ERROR DOCKER #4

robert1diego opened this issue Apr 28, 2024 · 0 comments

Comments

@robert1diego
Copy link

Hi sir i try to clone the proshop_django ecommerce and i have this error.Thanks for help.

Preparing metadata (setup.py): started
21.66 Preparing metadata (setup.py): finished with status 'error'
21.71 error: subprocess-exited-with-error
21.71
21.71 × python setup.py egg_info did not run successfully.
21.71 │ exit code: 1
21.71 ╰─> [23 lines of output]
21.71 running egg_info
21.71 creating /tmp/pip-pip-egg-info-_vxuj650/psycopg2.egg-info
21.71 writing /tmp/pip-pip-egg-info-_vxuj650/psycopg2.egg-info/PKG-INFO
21.71 writing dependency_links to /tmp/pip-pip-egg-info-_vxuj650/psycopg2.egg-info/dependency_links.txt
21.71 writing top-level names to /tmp/pip-pip-egg-info-_vxuj650/psycopg2.egg-info/top_level.txt
21.71 writing manifest file '/tmp/pip-pip-egg-info-_vxuj650/psycopg2.egg-info/SOURCES.txt'
21.71
21.71 Error: pg_config executable not found.
21.71
21.71 pg_config is required to build psycopg2 from source. Please add the directory
21.71 containing pg_config to the $PATH or specify the full executable path with the
21.71 option:
21.71
21.71 python setup.py build_ext --pg-config /path/to/pg_config build ...
21.71
21.71 or with the pg_config option in 'setup.cfg'.
21.71
21.71 If you prefer to avoid building psycopg2 from source, please install the PyPI
21.71 'psycopg2-binary' package instead.
21.71
21.71 For further information please check the 'doc/src/install.rst' file (also at
21.71 https://www.psycopg.org/docs/install.html).
21.71
21.71 [end of output]
21.71
21.71 note: This error originates from a subprocess, and is likely not a problem with pip.
21.75 error: metadata-generation-failed
21.75
21.75 × Encountered error while generating package metadata.
21.75 ╰─> See above for output.
21.75
21.75 note: This is an issue with the package mentioned above, not pip.
21.75 hint: See above for details.

failed to solve: process "/bin/sh -c pip3 install --trusted-host pypi.python.org --requirement requirements.txt" did not complete successfully: exit code: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant