alyssaq / face_morpher

:angel: Morph faces with Python, Numpy, Scipy
882 stars 233 forks source link

Averager error: global name 'FileNotFoundError' is not defined #33

Closed alana92 closed 6 years ago

alana92 commented 6 years ago

When I run the averager locally from terminal on mac (i.e. cd into the face_morpher folder on my desktop) and execute the python facemorpher/averager.py --images=<images_folder> --out=average.png command, I get the following error: global name 'FileNotFoundError' is not defined I know the pathname is correct because I dragged and dropped the folder containing my images into the terminal.

Could this error have anything to do with a botched installation, missing requirements or the cropping of the images in the folder?

Please advise

alana92 commented 6 years ago

My images are all in tiff format.

alana92 commented 6 years ago

Solved it with broader cropping and exporting all images to jpg before executing.