Dockerfile.genface need cmake
kxbin opened this issue · comments
docker buildx build -t genfaceplus:0219 -f Dockerfile.genface .
1569.7 removing build/bdist.linux-x86_64/wheel
1569.7 Running command Building wheel for dlib (pyproject.toml)
1569.7 running bdist_wheel
1569.7 running build
1569.7 running build_ext
1569.7 Traceback (most recent call last):
1569.7 File "/root/miniconda3/envs/pytorch/bin/cmake", line 5, in <module>
1569.7 from cmake import cmake
1569.7 ModuleNotFoundError: No module named 'cmake'
1569.7
1569.7 ERROR: CMake must be installed to build dlib
1569.7
1569.7 error: subprocess-exited-with-error
1569.7
1569.7 × Building wheel for dlib (pyproject.toml) did not run successfully.
1569.7 │ exit code: 1
1569.7 ╰─> See above for output.
1569.7
1569.7 note: This error originates from a subprocess, and is likely not a problem with pip.
1569.7 full command: /root/miniconda3/envs/pytorch/bin/python /root/miniconda3/envs/pytorch/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpn0xttexe
1569.7 cwd: /tmp/pip-install-_ioqwnan/dlib_7242954476374debb9869a67e150c603
1569.7 ERROR: Failed building wheel for dlib
same problem here, would be really grateful if anyone has a solution
same problem here, would be really grateful if anyone has a solution
you can see #183 , maybe fixed it