ToB企服应用市场:ToB评测及商务社交产业平台

标题: spacy 安装 en_core_web_sm [打印本页]

作者: 嚴華    时间: 2024-12-22 16:06
标题: spacy 安装 en_core_web_sm
目录
spacy win11 成功
linux No matching distribution found for numpy<3.0.0,>=2.0.0
解决方法:
linux安装失败:
linux安装成功 从GitHub上下载


spacy win11 成功

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple spacy

linux No matching distribution found for numpy<3.0.0,>=2.0.0


                  ERROR: No matching distribution found for numpy<3.0.0,>=2.0.0
                  [end of output]
      
              note: This error originates from a subprocess, and is likely not a problem with pip.
            error: subprocess-exited-with-error
      
            × pip subprocess to install build dependencies did not run successfully.
            │ exit code: 1
            ╰─> See above for output.
      
解决方法:

python版本太低,是3.8,升级为3.10就好了。

  
note: This error originates from a subprocess, and is likely not a problem with pip.
linux安装失败:

  1. # English
  2. python -m spacy download en_core_web_sm --user
  3. # Chinese
  4. python -m spacy download zh_core_web_sm --user
复制代码

linux安装成功 从GitHub上下载

  1. pip3 install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.2.0/en_core_web_sm-3.2.0.tar.gz
复制代码
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。




欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) Powered by Discuz! X3.4