conda create -n myenv python=3.6
Note:- Activate Virtual Environment using following Command
conda activate myenv.
Install dlib using following Command
conda install -c conda-forge dlib
Install face-recognition using following Command
conda install face-recognition
If you get following ERROR then Use Below Mentioned Command to Install face-recognition.
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
– face-recognition
Current channels:
– https://repo.anaconda.com/pkgs/main/win-64
– https://repo.anaconda.com/pkgs/main/noarch
– https://repo.anaconda.com/pkgs/free/win-64
– https://repo.anaconda.com/pkgs/free/noarch
– https://repo.anaconda.com/pkgs/r/win-64
– https://repo.anaconda.com/pkgs/r/noarch
– https://repo.anaconda.com/pkgs/pro/win-64
– https://repo.anaconda.com/pkgs/pro/noarch
– https://repo.anaconda.com/pkgs/msys2/win-64
– https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you’re
looking for, navigate to
and use the search bar at the top of the page.
Install face-recognition using following Command
pip install face-recognition
dlib and face-recognition is Successfully Installed. If any Errors Mention them in the Comment Section.
Thank You,
Chandan Rajpurohit.