[GH-ISSUE #706] subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--verbose', '--parallel=128']' returned non-zero exit status 1. [end of output] #514

Open
opened 2026-10-29 14:40:43 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @pulj26pulj26 on GitHub (Feb 27, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/706

执行"bash install.sh"后出现这个错误,有人遇到吗?错误信息如下:
File "/root/miniconda3/envs/ktransformers/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--verbose', '--parallel=128']' returned non-zero exit status 1.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ktransformers
Failed to build ktransformers
ERROR: Failed to build installable wheels for some pyproject.toml based projects (ktransformers)

Originally created by @pulj26pulj26 on GitHub (Feb 27, 2025). Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/706 执行"bash install.sh"后出现这个错误,有人遇到吗?错误信息如下: File "/root/miniconda3/envs/ktransformers/lib/python3.11/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--verbose', '--parallel=128']' returned non-zero exit status 1. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for ktransformers Failed to build ktransformers ERROR: Failed to build installable wheels for some pyproject.toml based projects (ktransformers)
Author
Owner

@cfltdf commented on GitHub (Feb 27, 2025):

遇到过,更新cmake之后解决了(现在版本3.31.5)

<!-- gh-comment-id:2686736931 --> @cfltdf commented on GitHub (Feb 27, 2025): 遇到过,更新cmake之后解决了(现在版本3.31.5)
Author
Owner

@rosefirefish commented on GitHub (Apr 2, 2025):

To upgrade the cmake does not solve my problem. To downgrade the gcc version (to 11.4) works.

<!-- gh-comment-id:2771256356 --> @rosefirefish commented on GitHub (Apr 2, 2025): To upgrade the cmake does not solve my problem. To downgrade the gcc version (to 11.4) works.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/ktransformers#514
No description provided.