m1 labelimg 실행

JunSeong An·2022년 6월 28일
0

AppleSillicon

목록 보기
1/1
post-thumbnail

labeling에 사용되는 오픈소스 labelimg가 m1맥에서 기본 main branch로 macOS용 설치를 진행하면

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.

위와 같은 오류가 발생합니다.
다음은 제가 실제로 실행하고 해결했던 과정입니다! 도움이 되셨으면합니다.

환경 : Apple M1 pro

pyside6 branch로 변경

git checkout pyside6

을 통해 기본 main branch가 아닌 pyside6 branch로 변경합니다.

필요한 library 설치 및 make

pip3 install pyside6 lxml
make pyside6

labelimg 실행

python3 labelImg.py

그리고 labelImg.py가 위치한 폴더로 들어가 labelImg.py를 실행하면됩니다.

profile
안녕하세요!

0개의 댓글