Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

执行错误 #14

Open
hongshengxin opened this issue Jul 11, 2019 · 0 comments
Open

执行错误 #14

hongshengxin opened this issue Jul 11, 2019 · 0 comments

Comments

@hongshengxin
Copy link

File "/var/hongsheng_xin/coconlp/cocoNLP/extractor.py", line 6, in
from pyhanlp import *
File "/var/anaconda2/envs/DemoEnv/lib/python3.6/site-packages/pyhanlp/init.py", line 122, in
_start_jvm_for_hanlp()
File "/var/anaconda2/envs/DemoEnv/lib/python3.6/site-packages/pyhanlp/init.py", line 39, in _start_jvm_for_hanlp
from pyhanlp.static import STATIC_ROOT, hanlp_installed_data_version, HANLP_DATA_PATH
File "/var/anaconda2/envs/DemoEnv/lib/python3.6/site-packages/pyhanlp/static/init.py", line 313, in
install_hanlp_data(HANLP_JAR_VERSION)
File "/var/anaconda2/envs/DemoEnv/lib/python3.6/site-packages/pyhanlp/static/init.py", line 244, in install_hanlp_data
with zipfile.ZipFile(data_zip, "r") as zip_ref:
File "/var/anaconda2/envs/DemoEnv/lib/python3.6/zipfile.py", line 1131, in init
self._RealGetContents()
File "/var/anaconda2/envs/DemoEnv/lib/python3.6/zipfile.py", line 1198, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant