face_morpher icon indicating copy to clipboard operation
face_morpher copied to clipboard

No module named 'facemorpher'

Open prismspecs opened this issue 4 years ago • 2 comments

python facemorpher\averager.py --images=faces --out=average.png
Traceback (most recent call last):
  File "facemorpher\averager.py", line 32, in <module>
    from facemorpher import locator
ModuleNotFoundError: No module named 'facemorpher'

prismspecs avatar Sep 12 '19 22:09 prismspecs

I've been having this problem too, and for the moment I just changed

from facemorpher import locator
from facemorpher import aligner
from facemorpher import warper
from facemorpher import blender
from facemorpher import plotter
from facemorpher import videoer

to


import locator
import aligner
import warper
import blender
import plotter
import videoer

in morpher.py

jstray avatar Oct 18 '19 04:10 jstray

I have the same issue. @jstray 's solution in averager.py does the trick.

mnemocron avatar Jul 14 '21 19:07 mnemocron