Traceback (most recent call last):


 "c:\users\elcot\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 3012, in _parsed_pkg_info

return self._pkg_info


 "c:\users\elcot\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 2815, in __getattr__

raise AttributeError(attr)
AttributeError: _pkg_info

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/amyrzat/.virtualenvs/cv/lib/python2.7/site-packages/face_recognition/__init__.py", line 7, in <module>

from .api import load_image_file, face_locations, face_landmarks, face_encodings, compare_faces, face_distance


 "/home/amyrzat/.virtualenvs/cv/lib/python2.7/site-packages/face_recognition/api.py", line 21, in <module>

face_encoder = dlib.face_recognition_model_v1(face_recognition_model)
AttributeError: 'module' object has no attribute 'face_recognition_model_v1'
