Linphone - 项目 android

Linphone - project android

执行命令 make 后出现错误。

-- Found PythonInterp: /usr/bin/python (found version "2.7.10") CMake Error at cmake/Tools.cmake:31 (message): 'pystache' python module not found Call Stack (most recent call first): CMakeLists.txt:177 (check_python_module)

make[3]: * [linphone-android/WORK/android-arm64/Stamp/EP_linphone/EP_linphone-configure] Error 1 make[2]: [CMakeFiles/EP_linphone.dir/all] Error 2 make[1]: [all] Error 2 make: * [arm64-build] Error 2

我用macos,

sh-3.2# python --version Python 2.7.10

重要: pip3 有效,但找不到 pip 命令!

更新: 我找到了解决方案:

   brew uninstall python


   brew install python@2

错误是因为您没有模块:"pystache"。
确保你已经安装了 pip
然后,您可以:
pip 安装 pystache
参考: https://pypi.org/project/pystache/