致命错误:安装eos-py python绑定时找不到“可选”文件

时间:2018-07-03 08:20:35

标签: python c++ binding

我正在尝试安装eos(现代C ++ 11/14中的轻量级3D Morphable Face Model拟合库)的python绑定,可在此链接https://github.com/patrikhuber/eos

中使用

但是,每当我尝试pip3 install eos-py时,都会发生以下错误

In file included from /private/var/folders/yq/lmrdynzx4w57sr6js0q9t2wc0000gn/T/pip-install-bh6jt2ok/eos-py/include/eos/core/LandmarkMapper.hpp:25:
    /private/var/folders/yq/lmrdynzx4w57sr6js0q9t2wc0000gn/T/pip-install-bh6jt2ok/eos-py/include/eos/cpp17/optional.hpp:26:12: fatal error: 'optional' file not found
      #include <optional>
               ^~~~~~~~~~
    1 error generated.
    make[2]: *** [python/CMakeFiles/python-bindings.dir/generate-python-bindings.cpp.o] Error 1
    make[1]: *** [python/CMakeFiles/python-bindings.dir/all] Error 2
    make: *** [all] Error 2

optional的错误c++是否普遍绑定到python语言?请为我提供一些提示,以帮助我成功完成安装。

0 个答案:

没有答案