python-support
python-support copied to clipboard
initialize error `'xml.etree.ElementTree.Element' object has no attribute 'getchildren'`
기초정보
- Python 버전이 얼마입니까? 3.9.7
- KoalaNLP 버전이 얼마인가요? koalanlp-2.1.7
- 문제의 유형은 어떤 것인가요?
- [ x] 버그리포트
- [ ] 개선점제안
- [ ] 사용법질문
- [ ] 기타
재연을 위한 정보
- KoalaNLP를 사용한 코드 부분을 보여주세요.
from koalanlp.Util import initialize, finalize
from koalanlp.proc import *
from koalanlp import API
# 초기화 합니다.
initialize(java_options="-Xmx4g -Dfile.encoding=utf-8", KKMA="2.0.2", EUNJEON="2.0.2", ETRI="2.0.2").
본문
안녕하세요, 패키지를 써보고 싶은데 initialize 하면 에러 메세지가 뜹니다, 수정할 수 있는 방법이 있을까요?
'xml.etree.ElementTree.Element' object has no attribute 'getchildren'
initialize 에 다른 옵션을 써도 마찬가지입니다 (예: initialize(java_options="-Xmx4g", ETRI="LATEST")
)
Repo 수정해주시는 @nearbydelta 박사님 혹시 소환할 수 있을까 해서 메세지 남겨봅니다