Click here to Skip to main content
15,898,938 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I'm encountering an issue while trying to execute a packaged Python application (using PyInstaller) that relies on the shape_predictor_68_face_landmarks.dat file for face recognition.

What I have tried:

Despite manually including the file in the bundled package, I'm still receiving a "missing file" exception when running the executable. I've verified the file paths and permissions, but the problem persists.

Could anyone offer insights or suggestions on what might be causing this issue? Has anyone encountered similar challenges when packaging Python applications, and if so, how did you resolve them?

Any help or advice would be greatly appreciated!
Posted
Updated 29-Apr-24 22:49pm
Comments
Richard MacCutchan 30-Apr-24 4:52am    
You need to provide more details, including the code that fails, the actual error message(s), and the evidence that the "missing" file, is not missing.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900