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

dlib installation error, cloned comfui, win11 #74

Closed
johnyboro opened this issue May 15, 2023 · 1 comment
Closed

dlib installation error, cloned comfui, win11 #74

johnyboro opened this issue May 15, 2023 · 1 comment

Comments

@johnyboro
Copy link

after running:
pip install -r requirements.txt

I get this error:
Installing collected packages: dlib, threadpoolctl, smmap, numpy, joblib, img2texture, pythonperlin, pilgram, gitdb, face_recognition, transformers, scikit-learn, gitpython, fairscale
DEPRECATION: dlib is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
Running setup.py install for dlib ... error
error: subprocess-exited-with-error

× Running setup.py install for dlib did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
running install
C:\Program Files\Python310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
running build_ext

  ERROR: CMake must be installed to build dlib

  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> dlib

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

@WASasquatch
Copy link
Owner

You need cmake for windows.

Also more help here: ageitgey/face_recognition#1401

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

No branches or pull requests

2 participants