-
Notifications
You must be signed in to change notification settings - Fork 8.6k
subprocess-exited-with-error with requirements.txt install #7321
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
Comments
No sure whether it's related, I just encountered the similar error message when installing on macOS, the license part was actually misleading to me. I turned out I need to install After installing |
I had the same error message. Also, I needed to install something on my operating system to fix the error. How to fix it
Running Further down you see an "Error: xxx executable not found"You need to install a package, which contains that executable. error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [34 lines of output]
/tmp/pip-build-env-d12hsaz1/overlay/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDepreca
tionWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running egg_info
writing psycopg2.egg-info/PKG-INFO
writing dependency_links to psycopg2.egg-info/dependency_links.txt
writing top-level names to psycopg2.egg-info/top_level.txt
Error: pg_config executable not found.
pg_config is required to build psycopg2 from source. 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'.
If you prefer to avoid building psycopg2 from source, please install the PyPI
'psycopg2-binary' package instead. pg_config executable not foundFor me, something related to postgres needed to be installed. This answer contains the solution for different operating systems and distributions. |
8000
Unfortunately, the error message in the original posts is cut off before the line, which contains the missing package's name. |
The manual installation instructions should include a list of required packages needed for the pip install command to work. |
Surprisingly Claude 3.7 Sonnet advice me how to fix it - |
started installing packages one by one, and got the error on |
Expected Behavior
When following the instructions for installing given on the main github page, with pip install -r requirements.txt, the requirement install fails with Building wheel for sentencepiece (pyproject.toml) ... error
The instructions should be more verbose and the requirements should install
Actual Behavior
Installation fails when installing python packages
Steps to Reproduce
following the instructions listed on main page and then the error occurs
Debug Logs
Other
No response
The text was updated successfully, but these errors were encountered: