Skip to content

initialize error 'xml.etree.ElementTree.Element' object has no attribute 'getchildren' #15

@ehsong

Description

@ehsong

기초정보

  • 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"))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions