ModuleNotFoundError: No module named 'face_recognition'
See original GitHub issue- face_recognition version: 1.2.3
- Python version: 3.7.4
- Operating System: windows 10
Description
I have a problem with Run the file of facerec from webcam faster so I referenced #407 issue and I revised code like ‘import face_recognition’ to ‘from face_recognition_cli import face_recognition’
before I revised the code just like
import face_recognition
There was traceback message like this
PS C:\Users\puppy> & C:/Users/puppy/Anaconda3/python.exe c:/Tensorflow1/face/Untitled-1.py Traceback (most recent call last): File “c:/Tensorflow1/face/Untitled-1.py”, line 1, in <module> import face_recognition ModuleNotFoundError: No module named ‘face_recognition’
What I Did
and I ran, there was traceback message like this
PS C:\Users\puppy> & C:/Users/puppy/Anaconda3/python.exe c:/Tensorflow1/face/Untitled-1.py
Traceback (most recent call last):
File "c:/Tensorflow1/face/Untitled-1.py", line 1, in <module>
from face_recognition_cli import face_recognition
File "c:\Tensorflow1\face\face_recognition_cli.py", line 6, in <module>
import face_recognition.api as face_recognition
ModuleNotFoundError: No module named 'face_recognition'
what should I do??
Issue Analytics
- State:
- Created 4 years ago
- Comments:31
Top Results From Across the Web
ModuleNotFoundError: No module named 'face_recognition'
And I've checked that I've found following error message when I've installed face_recognition library. pip install face_recognition RuntimeError ...
Read more >No Module Named 'face_recognition' in Python
How to Fix “ModuleNotFoundError: No module named 'face-recognition'” in PyCharm · Open File > Settings > Project from the PyCharm menu. · Select...
Read more >ModuleNotFoundError No module named face recognition ...
In this video We will fix the error " ModuleNotFoundError No module named face recognition import face_recognition "I got this error when i ......
Read more >ModuleNotFoundError: No module named 'face-recognition'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'face-recognition' How to remove the M.
Read more >Installation — Face Recognition 1.4.0 documentation
Stable release¶. To install Face Recognition, run this command in your terminal: $ pip3 install face_recognition. This ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Step1: pip install cmake Step2: pip install dlib Step3: pip install face_recognition it worked for me… But install it in specific environment that will be used later for face_recognition code.
if you have already installed dlib and face_recognition, 1st uninstall them by
pip uninstall
. then make sure you have cmake installed. you can do that bycmake –version
if not install cmake. after that install dlib by conda. this way it will make sure you have all the dependencies installed.conda install -c conda-forge dlib
then install face_recognition again bypip install face_recognition
this will solve the issue. (worked for me )