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

安装成功,使用时提示hanlp-1.7.4-release.zip下载失败 #16

Open
Lesliewinnie opened this issue Aug 19, 2019 · 0 comments
Open

Comments

@Lesliewinnie
Copy link

Downloading https://github.com/hankcs/HanLP/releases/download/v1.7.4/hanlp-1.7.4-release.zip to C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\pyhanlp\static\hanlp-1.7.4-release.zip

0.45%, 0 MB, 3 KB/s, ETA 7 min 31 s
0.89%, 0 MB, 7 KB/s, ETA 3 min 51 s
1.34%, 0 MB, 6 KB/s, ETA 4 min 53 s
1.79%, 0 MB, 7 KB/s, ETA 3 min 41 s
2.23%, 0 MB, 5 KB/s, ETA 5 min 22 s
2.68%, 0 MB, 6 KB/s, ETA 4 min 33 s
3.13%, 0 MB, 5 KB/s, ETA 4 min 59 s
3.57%, 0 MB, 6 KB/s, ETA 4 min 25 s
4.02%, 0 MB, 4 KB/s, ETA 6 min 16 s
4.47%, 0 MB, 4 KB/s, ETA 5 min 46 sFailed to download https://github.com/hankcs/HanLP/releases/download/v1.7.4/hanlp-1.7.4-release.zip
Please refer to https://github.com/hankcs/pyhanlp for manually installation.
Traceback (most recent call last):
File "C:\Users\admin\Desktop\text-classification-cnn-rnn-master\predict.py", line 22, in
from cocoNLP.extractor import extractor
File "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\cocoNLP\extractor.py", line 6, in
from pyhanlp import *
File "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\pyhanlp_init_.py", line 122, in
start_jvm_for_hanlp()
File "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\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 "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\pyhanlp\static_init
.py", line 310, in
install_hanlp_jar()
File "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\pyhanlp\static_init_.py", line 200, in install_hanlp_jar
with zipfile.ZipFile(jar_zip, "r") as archive:
File "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\zipfile.py", line 1113, in init
self.fp = io.open(file, filemode)
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\pyhanlp\static\hanlp-1.7.4-release.zip'

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