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

Unable to install requirements.txt #10

Open
aaditya-cpu opened this issue Jun 6, 2022 · 0 comments
Open

Unable to install requirements.txt #10

aaditya-cpu opened this issue Jun 6, 2022 · 0 comments

Comments

@aaditya-cpu
Copy link

Hey, I was trying to run this project, but while running it |
`C:\Users\dev\Downloads\Compressed\STACITI\Inventory (master)
(Inventory) λ pip install -r requirements.txt
Collecting dj-database-url==0.4.2
Using cached dj_database_url-0.4.2-py2.py3-none-any.whl (5.6 kB)
Collecting Django==2.0.2
Using cached Django-2.0.2-py3-none-any.whl (7.1 MB)
Collecting gunicorn==19.7.1
Using cached gunicorn-19.7.1-py2.py3-none-any.whl (111 kB)
Collecting psycopg2==2.7.3.2
Using cached psycopg2-2.7.3.2.tar.gz (425 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
running egg_info
creating C:\Users\dev\AppData\Local\Temp\pip-pip-egg-info-0rkmwovz\psycopg2.egg-info
writing C:\Users\dev\AppData\Local\Temp\pip-pip-egg-info-0rkmwovz\psycopg2.egg-info\PKG-INFO
writing dependency_links to C:\Users\dev\AppData\Local\Temp\pip-pip-egg-info-0rkmwovz\psycopg2.egg-info\dependency_links.txt
writing top-level names to C:\Users\dev\AppData\Local\Temp\pip-pip-egg-info-0rkmwovz\psycopg2.egg-info\top_level.txt
writing manifest file 'C:\Users\dev\AppData\Local\Temp\pip-pip-egg-info-0rkmwovz\psycopg2.egg-info\SOURCES.txt'
C:\Users\dev\Downloads\Compressed\STACITI\Inventory\lib\site-packages\setuptools\command\egg_info.py:633: SetuptoolsDeprecationWarning: Custom 'build_py' does not implement 'get_data_files_without_manifest'.
Please extend command classes from setuptools instead of distutils.
warnings.warn(
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'.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
WARNING: You are using pip version 22.0.4; however, version 22.1.2 is available.
You should consider upgrading via the 'C:\Users\dev\Downloads\Compressed\STACITI\Inventory\Scripts\python.exe -m pip install --upgrade pip' command.`

This happens, Can you please point me what should I try?

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