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

Error while installing packages from requirements.txt file #1

Open
Satej opened this issue Mar 11, 2023 · 1 comment
Open

Error while installing packages from requirements.txt file #1

Satej opened this issue Mar 11, 2023 · 1 comment
Assignees

Comments

@Satej
Copy link

Satej commented Mar 11, 2023

While installing packages from requirements.txt file received below error.

Steps to reproduce:

  1. Clone the repo
  2. Run command: pip install -r requirements.txt

Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [2 lines of output]
Failed to get options via gdal-config: [Errno 2] No such file or directory: 'gdal-config'
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
[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.

@Satej
Copy link
Author

Satej commented Mar 26, 2023

This should be fixed with PR.

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