我按照以下步骤在虚拟环境中安装了openface
。
git clone https://github.com/cmusatyalab/openface
cd openface
python setup.py install
执行python setup.py install
running install
running build
running build_py
running install_lib
running install_egg_info
Writing C:\Users\Haneesh\PycharmProjects\Medium\venv\Lib\site-packages\openface-0.2.1-py3.6.egg-info
但是当我在python中导入openface
时,它会发出以下错误
(venv) C:\Users\Haneesh\PycharmProjects\Medium\openface>.\util\align-dlib.py .\training-images\ align outerEyesAndNose .\aligned-images\ --size 96
Traceback (most recent call last):
File "C:\Users\Haneesh\PycharmProjects\Medium\openface\util\align-dlib.py", line 24, in <module>
import openface
ImportError: No module named openface
我也尝试在python控制台中导入openface,但是没有用。