Mac M1 安装labelme
【安装】:
先安装Anaconda,然后在terminal输入:
conda create–name=labelme python=3.6
conda activate labelme
pip install labelme
【遇到的错误】:
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
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.
【解决方案】:
网络查询可能有很多原因,pip、结构、wheel等版本问题;
甚至在一个解答中跟着安装pyqt5依旧无法安装。
最终我尝试了如下pyqt安装后解决了此问题;
conda install pyqt
pip install labelm