Mac M1电脑上使用miniconda3无法安装LAC
- Dominant language
- C++
- Stars
- 4k
- Forks
- 592
- PR merge metrics
- No merged PRs in 30d
Description
1、使用miniconda3新建x86_64环境
CONDA_SUBDIR=osx-64 conda create -n paddle python=3.9
2、成功安装paddlepaddle、paddlenlp、paddleocr
3、使用pip install LAC,报错了
```
Collecting LAC
Using cached LAC-2.1.2.tar.gz (64.8 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: -4
╰─> [0 lines of output]
[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.
```
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. First reproduce the reported `CONDA_SUBDIR=osx-64` environment and run `pip install LAC`, then inspect the package-installation entry points involved in metadata generation. Done means LAC installs successfully on a Mac M1 in the stated environment, with coverage for the failure if the project has relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- anaconda, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100