Skip to content
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

Dockerfile.genface need cmake #179

Open
kxbin opened this issue Apr 20, 2024 · 2 comments · May be fixed by #183
Open

Dockerfile.genface need cmake #179

kxbin opened this issue Apr 20, 2024 · 2 comments · May be fixed by #183

Comments

@kxbin
Copy link
Contributor

kxbin commented Apr 20, 2024

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
This was referenced Apr 20, 2024
@SystemErrorWang
Copy link

same problem here, would be really grateful if anyone has a solution

@kxbin
Copy link
Contributor Author

kxbin commented Apr 29, 2024

same problem here, would be really grateful if anyone has a solution

you can see #183 , maybe fixed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants