dlib error I do not know how to solve it

el3aqeedTRIAL

a year ago

error: subprocess-exited-with-error

11 17.58

11 17.58 × Building wheel for dlib (pyproject.toml) did not run successfully.

11 17.58 │ exit code: 1

11 17.58 ╰─> [6 lines of output]

11 17.58 running bdist_wheel

11 17.58 running build

11 17.58 running build_ext

11 17.58

11 17.58 ERROR: CMake must be installed to build dlib

11 17.58

11 17.58 [end of output]

11 17.58

11 17.58 note: This error originates from a subprocess, and is likely not a problem with pip.

11 17.58 ERROR: Failed building wheel for dlib

11 17.58 Failed to build dlib

11 17.58 ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

3 Replies


el3aqeedTRIAL

a year ago

11 16.72 Preparing metadata (setup.py): finished with status 'done'

11 16.93 Collecting zipp>=0.5

11 16.93 Using cached zipp-3.18.2-py3-none-any.whl (8.3 kB)

11 17.09 Collecting MarkupSafe>=2.0

11 17.10 Using cached MarkupSafe-2.1.5-cp38-cp38-manylinux217x8664.manylinux2014x8664.whl (26 kB)

11 17.14 Building wheels for collected packages: dlib

11 17.14 Building wheel for dlib (pyproject.toml): started

11 17.57 Building wheel for dlib (pyproject.toml): finished with status 'error'

11 17.58 error: subprocess-exited-with-error

11 17.58

11 17.58 × Building wheel for dlib (pyproject.toml) did not run successfully.

11 17.58 │ exit code: 1

11 17.58 ╰─> [6 lines of output]

11 17.58 running bdist_wheel

11 17.58 running build

11 17.58 running build_ext

11 17.58

11 17.58 ERROR: CMake must be installed to build dlib

11 17.58

11 17.58 [end of output]

11 17.58

11 17.58 note: This error originates from a subprocess, and is likely not a problem with pip.

11 17.58 ERROR: Failed building wheel for dlib

11 17.58 Failed to build dlib

11 17.58 ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects

11 17.59

11 17.59 [notice] A new release of pip is available: 23.0.1 -> 24.0

11 17.59 [notice] To update, run: pip install --upgrade pip

11 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/10] RUN --mount=type=cache,id=s/4105c1b7-0f8a-4645-82b6-a126f4a360c5-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt:

17.58

17.58 [end of output]

17.58

17.58 note: This error originates from a subprocess, and is likely not a problem with pip.

17.58 ERROR: Failed building wheel for dlib

17.58 Failed to build dlib

17.58 ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects

17.59

17.59 [notice] A new release of pip is available: 23.0.1 -> 24.0

17.59 [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/4105c1b7-0f8a-4645-82b6-a126f4a360c5-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt

21 |

22 | # build phase

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

Please use the bookmarklet otherwise I won't be able to assist.


dlib error I do not know how to solve it - Railway Help Station