赞
踩
本文主要总结一些我在学习自然语言处理的时候遇到的报错情况。
报错情况如下:
OSError: [E050] Can’t find model ‘zh_core_web_sm’. It doesn’t seem to be a Python package or a valid path to a data directory.
电脑中并没有下载:
python -m spacy download en_core_web_sm
使用网络下载的话有的时候真的很慢,可以先选择使用镜像网站会相对来说快一点点~
各个镜像地址:
清华大学:https://pypi.tuna.tsinghua.edu.cn/simple/
阿里云:http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
华中理工大学:http://pyp
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。