Face_recognition: ImportError: No module named 'face_recognition'

Created on 14 Mar 2018  路  1Comment  路  Source: ageitgey/face_recognition

  • face_recognition version:
  • Python version: 2.7 and 3.5
  • Operating System: Ubuntu 16.04

Description

I am not able to import face_recognition module. It gives this error:
ImportError: No module named 'face_recognition'

What I Did

I install face_recognition module for both python 2 and 3 with following commands:
pip2 install face_recognition
pip3 install face_recognition

When I again run the commands above it gives:

screenshot from 2018-03-14 20-28-43

Then, I also tried this:
pip3 --no-cache-dir install face_recognition
Here is the result:

screenshot from 2018-03-14 20-55-01

Most helpful comment

Running these commands solved the problem

sudo pip3 --no-cache-dir install face_recognition
sudo pip2 --no-cache-dir install face_recognition

>All comments

Running these commands solved the problem

sudo pip3 --no-cache-dir install face_recognition
sudo pip2 --no-cache-dir install face_recognition

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ramineniraviteja picture ramineniraviteja  路  5Comments

mrhydra-np picture mrhydra-np  路  3Comments

safaad picture safaad  路  4Comments

carlhung picture carlhung  路  6Comments

dickyj picture dickyj  路  3Comments