跑demo报错咯,各位帮忙看看呗

跑个demo直接报错咯:python .\demo_classifier.py
各位帮忙看看啥问题呢,提示的upgrade,也不行哦
Failed to load https://file.hankcs.com/hanlp/classification/chnsenticorp_bert_ba
se_20200104_164655.zip. See stack trace below
Traceback (most recent call last):
File “E:\mkygogo\ai\NLP\anaconda\lib\site-packages\hanlp\utils\io_util.py”, li
ne 563, in stdout_redirected
yield stdout # allow code to be run with the redirected stdout
File “E:\mkygogo\ai\NLP\anaconda\lib\site-packages\hanlp\layers\transformers\l
oader.py”, line 141, in build_transformer
skipped_weight_value_tuples = bert.load_bert_weights(l_bert, ckpt)
File “E:\mkygogo\ai\NLP\anaconda\lib\site-packages\bert\loader.py”, line 235,
in load_stock_weights
len(weight_value_tuples), ckpt_path, bert, prefix, skip_count, len(skipped_w
eight_value_tuples)))
File “E:\mkygogo\ai\NLP\anaconda\lib\site-packages\colorama\ansitowin32.py”, l
ine 40, in write
self.__convertor.write(text)
File “E:\mkygogo\ai\NLP\anaconda\lib\site-packages\colorama\ansitowin32.py”, l
ine 141, in write
self.write_and_convert(text)
File “E:\mkygogo\ai\NLP\anaconda\lib\site-packages\colorama\ansitowin32.py”, l
ine 169, in write_and_convert
self.write_plain_text(text, cursor, len(text))
File “E:\mkygogo\ai\NLP\anaconda\lib\site-packages\colorama\ansitowin32.py”, l
ine 175, in write_plain_text
self.wrapped.flush()
OSError: [WinError 6] 句柄无效。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “E:\mkygogo\ai\NLP\anaconda\lib\site-packages\hanlp\utils\component_util.
py”, line 48, in load_from_meta_file
obj.load(save_dir, **load_kwargs)
File “E:\mkygogo\ai\NLP\anaconda\lib\site-packages\hanlp\common\component.py”,
line 244, in load
self.build(**merge_dict(self.config, training=False, logger=logger, **kwargs
, overwrite=True, inplace=True))
File “E:\mkygogo\ai\NLP\anaconda\lib\site-packages\hanlp\common\component.py”,
line 255, in build
loss=kwargs.get(‘loss’, None)))
File “E:\mkygogo\ai\NLP\anaconda\lib\site-packages\hanlp\components\classifier
s\transformer_classifier.py”, line 153, in build_model
tagging=False)
File “E:\mkygogo\ai\NLP\anaconda\lib\site-packages\hanlp\layers\transformers\l
oader.py”, line 141, in build_transformer
skipped_weight_value_tuples = bert.load_bert_weights(l_bert, ckpt)
File “E:\mkygogo\ai\NLP\anaconda\lib\contextlib.py”, line 99, in exit
self.gen.throw(type, value, traceback)
File “E:\mkygogo\ai\NLP\anaconda\lib\site-packages\hanlp\utils\io_util.py”, li
ne 567, in stdout_redirected
stdout.flush()
OSError: [WinError 6] 句柄无效。
https://file.hankcs.com/hanlp/classification/chnsenticorp_bert_base_20200104_164
655.zip was created with hanlp-2.0.0-alpha.5, while you are running 2.0.0-alpha.
35. Try to upgrade hanlp with
pip install --upgrade hanlp
If the problem persists, please submit an issue to https://github.com/hankcs/Han
LP/issues .
Exception ignored in: <colorama.ansitowin32.StreamWrapper object at 0x0000000013
CCA320>
OSError: [WinError 6] 句柄无效。

感谢反馈,请测试这个补丁: