[英]Installing spaCy - SSL Certificate Error
I have installed spaCy using pip install spacy
but when trying python -m spacy.en.download all
, I get the following error ..我已经使用
pip install spacy
安装了 spaCy,但是在尝试python -m spacy.en.download all
,我收到以下错误..
(For Google -- ssl.CertificateError: hostname 'index.spacy.io
doesn't match 'api.explosion.ai'`) (对于谷歌 -
ssl.CertificateError: hostname 'index.spacy.io
不匹配 'api.explosion.ai'`)
Is there a way to fix this easily?有没有办法轻松解决这个问题? Ref ..
参考..
Try installing the new version in Linux.尝试在 Linux 中安装新版本。 It will work.
它会起作用。
Are you behind a proxy?你在代理后面吗? I have to set ssl to false and then back again once installed.
我必须将 ssl 设置为 false,然后在安装后再次返回。
config conda --set ssl_verify false
in anaconda prompt might work for you? config conda --set ssl_verify false
in anaconda prompt 可能对你config conda --set ssl_verify false
吗?
从 VPN(虚拟专用网络)断开连接对我有用。
This error is fixed in the latest spacy version and should not occur anymore.此错误已在最新的 spacy 版本中修复,不应再发生。 If you are experiencing the issue you should
如果您遇到此问题,您应该
pip install -U spacy
pip install -U spacy
更新您的 spacy 版本python -m spacy download en
python -m spacy download en
安装新模型Be aware that the download command changed for installing models!请注意,下载命令已更改为安装模型!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.