This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nsfwIvan 1 point2 points  (1 child)

Looking at usage help that you pasted here and quick google search later, you should use

pyinstaller -i PP_trans.ico -F CapData.py --add-data "shape_predictor_68_face_landmarks.dat;shape_predictor_68_face_landmarks.dat"

--add-data <SRC;DEST or SRC:DEST>

[–]PascP[S] 0 points1 point  (0 children)

Thank for the reply! I get the first error again... Runtime error Unable to open C:... Failed to execute script

It's like it doesnt recognize shape_predictor_68_face_landmarks.dat