pip install face_recognition code example

Example 1: how to install face_recognition

# To install face_recognition. First download boost from http://www.boost.org/users/download/
# Then navigate to C:\Users\(Username)\AppData\Local\Programs\Python\(Python version)\Lib\site-packages
# Move the boost file into that location and extract it
# Open shell (command prompt for Windows) and type "pip install cmake"
# Make sure you have visual studio's C++ packages to make sure boost works properly. To get those install visual studio
# Then type "pip install face_recognition"

# Credit to Jahangeer for their answer
# https://stackoverflow.com/questions/48156814/unable-to-install-face-recognition-library-for-python

Example 2: pycharm install face_recognition

$ git clone git://github.com/ageitgey/face_recognition