JittorLLMs icon indicating copy to clipboard operation
JittorLLMs copied to clipboard

安装依赖出现问题

Open wsmdn opened this issue 1 year ago • 0 comments

Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\Administrator\AppData\Local\Temp\pip-install-gaw822_1\sentencepiece_4250fa906aeb4adc87b5b0cd9cb05fd3\setup.py", line 126, in subprocess.check_call([ File "F:\chengxuanzhuangmulu\PYTHON\Lib\subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', 'sentencepiece', '-A', 'x64', '-B', 'build', '-DSPM_ENABLE_SHARED=OFF', '-DCMAKE_INSTALL_PREFIX=build\root']' 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: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

wsmdn avatar Jan 24 '24 11:01 wsmdn