how to solve this Getting requirements to build wheel: finished with status 'error'
nuristany
FREEOP

2 years ago

Getting requirements to build wheel: finished with status 'error'

6 Replies

2 years ago

Please provide the error you are getting.


nuristany
FREEOP

2 years ago

#10 10.78 File "/tmp/pip-build-env-pu168eeg/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires

#10 10.78 self.run_setup()

#10 10.78 File "/tmp/pip-build-env-pu168eeg/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup

#10 10.78 exec(code, locals())

#10 10.78 File "", line 155, in

#10 10.78 File "", line 49, in get_config_posix

#10 10.78 File "", line 28, in find_package_name

#10 10.78 Exception: Can not find valid pkg-config name.

#10 10.78 Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS 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 NIXPACKS_PATH /opt/venv/bin:$NIXPACKS_PATH

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


2 years ago

I would recommend using a pure python mysql client.


2 years ago

And for future reference, please do not open duplicate threads. This is community support and patience is key to get support.


nuristany
FREEOP

2 years ago

ok thanks i will see if this solution fix the error


2 years ago

As long as you remove the package that's causing issues when switching to the other mysql client, you should be good.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...