alyssaq / face_morpher

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

No module named 'facemorpher' #56

Open prismspecs opened 5 years ago

prismspecs commented 5 years ago
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'
jstray commented 4 years ago

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

mnemocron commented 3 years ago

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