I installed cmake,opencv,dlib and face_recognition and all of them are installed succesfully without any error when i try to import face_recognition
import face_recognition
I get this error
Traceback (most recent call last):
File "c:\Users\WAJIH\Desktop\pop.py", line 1, in <module>
import face_recognition
ValueError: source code string cannot contain null bytes
the face_recognition is installed I checked the lib folder i tried to type again
pip install face_recognition
i get requirements already satisfied can anyone help and thanks
Try:
pip uninstall face_recognition
pip install face_recognition
If the issue persists, you may need to try pip install --no-cache-dir
or manually removing the module's files from your system and then reinstalling it.
Additionally, make sure that you have installed all of the required dependencies for the face_recognition
module, such as cmake
, opencv
, and dlib
.