python 第三方包提示找不到属性的问题

LTP 包已经安装成果,但是提示找不到属性

C:\WINDOWS\system32>python
Python 3.7.6 (default, Jan 8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32

Warning:
This Python interpreter is in a conda environment, but the environment has
not been activated. Libraries may fail to load. To activate this environment
please see https://conda.io/activation

Type "help", "copyright", "credits" or "license" for more information.

from ltp import LTP
ltp = LTP()
sents = ltp.sent_split(["他叫汤姆去拿外衣。", "汤姆生病了。他去了医院。"])
Traceback (most recent call last):
File "", line 1, in
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 1208, in getattr
type(self).name, name))
AttributeError: 'LTP' object has no attribute 'sent_split'
segment, _ = ltp.seg(["他叫汤姆去拿外衣。"])
Traceback (most recent call last):
File "", line 1, in
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 1208, in getattr
type(self).name, name))
AttributeError: 'LTP' object has no attribute 'seg'

这种情况一般是python版本过高或者过低,包的作者更新不及时