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

make deps #654

Closed
Mircc opened this issue Jul 20, 2022 · 2 comments
Closed

make deps #654

Mircc opened this issue Jul 20, 2022 · 2 comments

Comments

@Mircc
Copy link

Mircc commented Jul 20, 2022

执行make deps 报错信息如下:
-- Use bundled marisa library.

CMake Error at /opt/homebrew/Cellar/cmake/3.23.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):

Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)

Call Stack (most recent call first):

/opt/homebrew/Cellar/cmake/3.23.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)

/opt/homebrew/Cellar/cmake/3.23.2/share/cmake/Modules/FindPythonInterp.cmake:169 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)

data/CMakeLists.txt:1 (find_package)

-- Configuring incomplete, errors occurred!

make[3]: * [opencc] Error 1

make[2]: * [thirdparty] Error 2

make[1]: * [xcode/thirdparty] Error 2

make: * [librime/thirdparty/lib/libopencc.a] Error 2

@LEOYoon-Tsaw
Copy link
Member

Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)

@Mircc
Copy link
Author

Mircc commented Aug 3, 2022

Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)

安装python后这个错误没了,但是有其他错误。

最后确认,不能用sudo编译,源码需要放在当前用户能默认读写的目录下比如/User/username/xxx

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

3 participants