Émile

[파이썬 오류해결] pip install hangul-utils 안될때 본문

IT공부

[파이썬 오류해결] pip install hangul-utils 안될때

Emile_12 2023. 11. 4. 21:21
반응형

 

 

> pip install hangul-utils
Collecting hangul-utils
Using cached hangul_utils-0.4.5-py3-none-any.whl (20 kB)
Requirement already satisfied: tqdm in c:\users\ahdcj\appdata\local\programs\python\python311\lib\site-packages (from hangul-utils) (4.66.1)

Requirement already satisfied: six in c:\users\ahdcj\appdata\local\programs\python\python311\lib\site-packages (from hangul-utils) (1.16.0)
INFO: pip is looking at multiple versions of hangul-utils to determine which version is compatible with other requirements. This could take a while.
Using cached hangul_utils-0.4.4-py3-none-any.whl (20 kB)
Using cached hangul_utils-0.4.3-py3-none-any.whl (20 kB)
Using cached hangul_utils-0.4.2-py3-none-any.whl (20 kB)
Using cached hangul_utils-0.4.1-py3-none-any.whl (20 kB)
Using cached hangul_utils-0.4-py3-none-any.whl (20 kB)
Using cached hangul-utils-0.3.0.tar.gz (4.3 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
C:\Users\ahdcj\AppData\Local\Temp\pip-build-env-oq8uff_7\overlay\Lib\site-packages\setuptools\[dist.py:498](http://dist.py:498/): SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

```
          ********************************************************************************
          Usage of dash-separated 'description-file' will not be supported in future
          versions. Please use the underscore name 'description_file' instead.

          This deprecation is overdue, please update your project and remove deprecated
          calls to avoid build errors in the future.

          See <https://setuptools.pypa.io/en/latest/userguide/declarative_config.html> for details.
          ********************************************************************************

  !!
    opt = self.warn_dash_deprecation(opt, section)
  error in hangul-utils setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
      mecab-python==0.996-ko-0.9.2
                  ~~~~~~~^
  [end of output]

```

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

 

 

 

 

우선 빠르게 해결법 부터 알려드림

 

 

pip install hangul_utils==0.2

 

 

현재 버전들이 안맞아서 그런거 같다...

 

 

 

사실 오류내용도 정확히 보지도 않고 Konlpy가 자바문제가 많았어서, 자바 환경변수 설정 문제인줄 알고 이것저것 했는데 아니었다ㅋㅋ

 

 

직장동료피셜로 Konlpy가 원래는 자바기반이었는데, 이제 파이썬기반으로도 다시 만들어져서 그런 문제는 없다고...ㅎㅎ

 

암튼 저처럼 저런 문제 겪으시는 분들은 해결하시길 바랍니다ㅎㅎ

반응형
Comments