Mac M1电脑上使用miniconda3无法安装LAC
kingiol opened this issue · comments
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.