To install the cvlib package (https://pypi.org/project/cvlib/), first install the required packages (numpy, opencv-python, requests, progressbar, pillow, tensorflow, keras) using the following command:
$ pip install -r requirements.txt
Then, install the cvlib package:
$ pip install cvlib
To upgrade to the newest version, enter the following command:
pip install --upgrade cvlib
Note that if you are using a GPU, you can edit the requirements.txt file to include tensorflow-gpu instead of tensorflow.
To check that the installation has been performed correctly, just open a Python shell and try to import the face_recognition library:
python
import cvlib