运行pip install -e ".[default]"的时候,安装lyric-py失败 #2180
Unanswered
codingSlipper
asked this question in
Q&A
Replies: 1 comment
-
个人经验不是直接安装,而是
类似这样的今进行安装就过去了 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
system:macOS 11.6.8
python version:3.10.15
下面是详细报错(太多,部分无用信息丢弃了):
Building wheels for collected packages: lyric-py
Building wheel for lyric-py (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for lyric-py (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [347 lines of output]
Running
maturin pep517 build-wheel -i /opt/anaconda3/envs/dbgpt_env/bin/python --compatibility off
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings
🐍 Found CPython 3.10 at /opt/anaconda3/envs/dbgpt_env/bin/python
📡 Using build options features, bindings from pyproject.toml
💻 Using
MACOSX_DEPLOYMENT_TARGET=10.12
for x86_64-apple-darwin by defaultCompiling proc-macro2 v1.0.92
Compiling unicode-ident v1.0.14
Compiling libc v0.2.164
Compiling serde v1.0.215
Compiling cfg-if v1.0.0
Compiling version_check v0.9.5
Compiling anyhow v1.0.93
Compiling once_cell v1.20.2
Compiling autocfg v1.4.0
Compiling itoa v1.0.14
Compiling memchr v2.7.4
Compiling log v0.4.22
Compiling pin-project-lite v0.2.15
Compiling foldhash v0.1.3
Compiling equivalent v1.0.1
Compiling atomic-waker v1.1.2
Compiling rayon-core v1.12.1
Compiling icu_properties_data v1.5.0
Compiling termcolor v1.4.1
Compiling zerovec v0.10.4
Compiling itertools v0.13.0
Compiling want v0.3.1
Compiling dirs v4.0.0
Compiling wit-parser v0.218.0
Compiling tokio-util v0.7.12
Compiling tinystr v0.7.6
Compiling icu_collections v1.5.0
Compiling wasmtime-fiber v26.0.1
Compiling icu_locid v1.5.0
The following warnings were emitted during compilation:
Caused by: Cargo build finished with "exit status: 101":
env -u CARGO MACOSX_DEPLOYMENT_TARGET="10.12" PYO3_ENVIRONMENT_SIGNATURE="cpython-3.10-64bit" PYO3_PYTHON="/opt/anaconda3/envs/dbgpt_env/bin/python" PYTHON_SYS_EXECUTABLE="/opt/anaconda3/envs/dbgpt_env/bin/python" "cargo" "rustc" "--features" "pyo3/extension-module" "--message-format" "json-render-diagnostics" "--manifest-path" "/private/var/folders/xg/clhh0ly117v8bl9s0gbl16c00000gn/T/pip-install-jyupqmhc/lyric-py_797663aaf4cf4723931d72cac1c0afd9/bindings/python/lyric-py/Cargo.toml" "--release" "--lib" "--crate-type" "cdylib" "--" "-C" "link-arg=-undefined" "-C" "link-arg=dynamic_lookup" "-C" "link-args=-Wl,-install_name,@rpath/lyric._py_lyric.cpython-310-darwin.so"
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/opt/anaconda3/envs/dbgpt_env/bin/python', '--compatibility', 'off'] 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 lyric-py
Failed to build lyric-py
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (lyric-py)
Beta Was this translation helpful? Give feedback.
All reactions