HIT-SCIR / pyltp

pyltp: the python extension for LTP
1.53k stars 352 forks source link

macos build failed #238

Closed songsh closed 2 years ago

songsh commented 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:

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

AlongWY commented 2 years ago

好的我检查一下

AlongWY commented 2 years ago

已经解决该问题