Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have installed openface in my windows machine by following below steps.

Downloaded openface from this inline path : https://github.com/ cmusatyalab/openface

cd openface
python setup.py install

--------------------
C:ProgramDataAnaconda3>python.exe openface/setup.py install
running install
running build
running build_py
copying openface\__init__.py -> buildlibopenface
running install_lib
copying buildlibopenface\__init__.py -> C:ProgramDataAnaconda3Libsite-packagesopenface
byte-compiling C:ProgramDataAnaconda3Libsite-packagesopenface\__init__.py to __init__.cpython-36.pyc
running install_egg_info
Removing C:ProgramDataAnaconda3Libsite-packagesopenface-0.2.1-py3.6.egg-info
Writing C:ProgramDataAnaconda3Libsite-packagesopenface-0.2.1-py3.6.egg-info

After installation when I tried to access AlignDlib method, I'm getting error -

ImportError: cannot import name 'AlignDlib'

Appreciate your help, If somebody can help me on how to resolve this error.

Thanks Bhajesh

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
171 views
Welcome To Ask or Share your Answers For Others

1 Answer

I have figured out the issue.

Even after running the python setup.py install, All the files are not copied into the python path directory.

I found some of the files are missing. Hence I manually copied all those files which are missing and AlignDlib was one of the them in that.

Thanks,


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...