본문 바로가기
AI/DataCollecting

[Labelme] labelme(라벨링) 사용을 위한 환경 조성

by TSpoons 2024. 5. 30.

os : window 10

환경 : anaconda 3

 

https://github.com/labelmeai/labelme?tab=readme-ov-file#anaconda

 

(labelme) C:\Users\jaeho>pip install labelme
Collecting labelme
  Using cached labelme-5.4.1.tar.gz (1.4 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\jaeho\AppData\Local\Temp\pip-install-lvzzmt6z\labelme_7a98f607d80141b1bac45fcaf58035cd\setup.py", line 160, in <module>
          main()
        File "C:\Users\jaeho\AppData\Local\Temp\pip-install-lvzzmt6z\labelme_7a98f607d80141b1bac45fcaf58035cd\setup.py", line 123, in main
          long_description=get_long_description(),
                           ^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\jaeho\AppData\Local\Temp\pip-install-lvzzmt6z\labelme_7a98f607d80141b1bac45fcaf58035cd\setup.py", line 73, in get_long_description
          long_description = f.read()
                             ^^^^^^^^
      UnicodeDecodeError: 'cp949' codec can't decode byte 0xf0 in position 3705: illegal multibyte sequence
      [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.

 

 

 

 

 

버전이 python3.10에서 진행함 ㅡ,ㅡ

 

 

conda create --name=labelme python==3.6

 

pip install labelme

 

 

 

 

<완료!>

'AI > DataCollecting' 카테고리의 다른 글

[WebCrawling] Selenium  (0) 2024.08.19
[Download] aihub 이용법  (0) 2024.05.23