Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to open ./shape_predictor_68_face_landmarks.dat #1435

Open
Sherif-Sakran opened this issue Jul 31, 2022 · 1 comment
Open

Unable to open ./shape_predictor_68_face_landmarks.dat #1435

Sherif-Sakran opened this issue Jul 31, 2022 · 1 comment

Comments

@Sherif-Sakran
Copy link

Sherif-Sakran commented Jul 31, 2022

  • Python version: 3.10
  • Operating System: windows 10

I am trying to get an executable file for my project through pyinstaller, but I am facing an error regarding the following model: shape_predictor_68_face_landmarks.dat

Here is the error message I get:

Traceback (most recent call last):
File "tag2.py", line 4, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
File "main.py", line 1, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
File "face_recognition_init
.py", line 7, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
File "face_recognition\api.py", line 20, in
RuntimeError: Unable to open C:\Users\Sherif\AppData\Local\Temp\_MEI202682\face_recognition_models\models\shape_predictor_68_face_landmarks.dat

Could anyone help please?

@fafamendes
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants