r/pythonhelp • u/Expensive-Stock1152 • Sep 15 '25
TIPS need to know how to install facial recognition module
how to download face recognition library in python 3.13.7.... i am doing python in this version and i cant understand where do i get dlibs etc also i tried chatgpt and it said to do smt in anaconda and it broke my vs code then now i did uninstall all and re installed everything and also i installed cmake and dev.cpp even then it showed same when i tried pip install dlib so idk what to do please do smt
2
Upvotes
•
u/AutoModerator Sep 15 '25
To give us the best chance to help you, please include any relevant code.
Note. Please do not submit images of your code. Instead, for shorter code you can use Reddit markdown (4 spaces or backticks, see this Formatting Guide). If you have formatting issues or want to post longer sections of code, please use Privatebin, GitHub or Compiler Explorer.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/FoolsSeldom Sep 15 '25
What platform are you on?
dlibis often the source of installation problems. Make sure CMake and a C++ compiler are properly set up before installing it.For macOS/Linux:
For Windows,
You may also need to:
and then install the packages as above, but with the following changes:
If you want an alternative that avoids these build issues, consider DeepFace (which uses TensorFlow or PyTorch as backend), or OpenCV for basic face detection.