Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named builtins #48

Closed
yaozhhhh opened this issue Jan 5, 2019 · 1 comment
Closed

No module named builtins #48

yaozhhhh opened this issue Jan 5, 2019 · 1 comment

Comments

@yaozhhhh
Copy link

yaozhhhh commented Jan 5, 2019

when i enter "python facemorpher/morpher.py --src=</Desktop/1.jpeg> --dest=</Desktop/2.jpeg> --plot"
it return:

Traceback (most recent call last):
File "facemorpher/morpher.py", line 34, in
from facemorpher import locator
File "/usr/local/lib/python2.7/site-packages/facemorpher/init.py", line 4, in
from .morpher import morpher, list_imgpaths
File "/usr/local/lib/python2.7/site-packages/facemorpher/morpher.py", line 36, in
from facemorpher import warper
File "/usr/local/lib/python2.7/site-packages/facemorpher/warper.py", line 3, in
from builtins import range
ImportError: No module named builtins

@alyssaq
Copy link
Owner

alyssaq commented Jan 5, 2019

pip install future should fix it.
Ill push a fix to remove the use of builtins.

@alyssaq alyssaq closed this as completed Aug 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants