Closed songsh closed 2 years ago
在提问之前,请确认以下几点:
构建失败
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/Users/dony/pyltp', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/dony/pyltp/build/lib.macosx-10.13-x86_64-3.7', '-DPYTHON_EXECUTABLE=/usr/local/bin/python3', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
$ git clone https://github.com/HIT-SCIR/pyltp $ cd pyltp $ git submodule init $ git submodule update $ python setup.py install
macos python3.7
Please ensure your issue adheres to the following guidelines:
好的我检查一下
已经解决该问题
在提问之前,请确认以下几点:
问题类型
构建失败
出错场景
subprocess.CalledProcessError: Command '['cmake', '/Users/dony/pyltp', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/dony/pyltp/build/lib.macosx-10.13-x86_64-3.7', '-DPYTHON_EXECUTABLE=/usr/local/bin/python3', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
代码片段
如何复现这一错误
运行环境
macos python3.7
期望结果
其他
Please ensure your issue adheres to the following guidelines:
What is affected by this bug?
When does this occur?
Where on the code does it happen?
How do we replicate the issue?
Your environment information
Expected behavior (i.e. solution)
Other Comments