a year ago
Getting requirements to build wheel: finished with status 'error'
6 Replies
a year ago
10 10.78 File "/tmp/pip-build-env-pu168eeg/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _getbuildrequires
10 10.78 self.run_setup()
10 10.78 File "/tmp/pip-build-env-pu168eeg/overlay/lib/python3.11/site-packages/setuptools/buildmeta.py", line 311, in runsetup
10 10.78 exec(code, locals())
10 10.78 File "", line 155, in
10 10.78 File "", line 49, in getconfigposix
10 10.78 File "", line 28, in findpackagename
10 10.78 Exception: Can not find valid pkg-config name.
10 10.78 Specify MYSQLCLIENTCFLAGS and MYSQLCLIENTLDFLAGS env vars manually
10 10.78 [end of output]
10 10.78
10 10.78 note: This error originates from a subprocess, and is likely not a problem with pip.
10 10.79 error: subprocess-exited-with-error
10 10.79
10 10.79 × Getting requirements to build wheel did not run successfully.
10 10.79 │ exit code: 1
10 10.79 ╰─> See above for output.
10 10.79
10 10.79 note: This error originates from a subprocess, and is likely not a problem with pip.
10 10.80
10 10.80 [notice] A new release of pip is available: 23.1.2 -> 24.0
10 10.80 [notice] To update, run: pip install --upgrade pip
10 ERROR: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1
> [stage-0 6/8] RUN --mount=type=cache,id=s/65c9a52a-7c32-40b1-a389-7c2eca140c9f-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt:
10.79 error: subprocess-exited-with-error
10.79
10.79 × Getting requirements to build wheel did not run successfully.
10.79 │ exit code: 1
10.79 ╰─> See above for output.
10.79
10.79 note: This error originates from a subprocess, and is likely not a problem with pip.
10.80
10.80 [notice] A new release of pip is available: 23.1.2 -> 24.0
10.80 [notice] To update, run: pip install --upgrade pip
Dockerfile:20
18 | ENV NIXPACKSPATH /opt/venv/bin:$NIXPACKSPATH
19 | COPY . /app/.
20 | >>> RUN --mount=type=cache,id=s/65c9a52a-7c32-40b1-a389-7c2eca140c9f-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt
21 |
22 |
ERROR: failed to solve: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1
Error: Docker build failed
a year ago
And for future reference, please do not open duplicate threads. This is community support and patience is key to get support.
a year ago
ok thanks i will see if this solution fix the error
a year ago
As long as you remove the package that's causing issues when switching to the other mysql client, you should be good.