简体   繁体   English

在python 3.7中安装spacy-readability时出错

[英]error installing spacy-readability in python 3.7

I have a problem installing spacy-readability. 我在安装spacy-readability时遇到问题。 It gives me the following error: 它给了我以下错误:

Command ""c:\program files (x86)\python37-32\python.exe" "c:\program files (x86)\python37-32\lib\site-packages\pip" in
stall --ignore-installed --no-user --prefix C:\Users\USR~1\AppData\Local\Temp\pip-build-env-fduabwfn\overlay --no-w
arn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel>0.32.0.<0.3
3.0 Cython cymem>=2.0.2,<2.1.0 preshed>=2.0.1,<2.1.0 murmurhash>=0.28.0,<1.1.0 thinc==7.0.0.dev6" failed with error code 1 in None

My python version is 3.7.2, already tried: 我的python版本是3.7.2,已经尝试过:

  1. downgrade setuptools to version 39 (before it was 40) 将setuptools降级到版本39(之前是40)
  2. change python version 更改python版本
  3. download of the whl and installation by pip install (before I was using, and I'd still like to use, pycharm) 通过pip install下载whl并进行安装(在我使用pycharm之前,我仍然想使用)
  4. installation of an older version of spacy-readability(still the same error) 安装较旧版本的spacy-readability(仍然相同的错误)

我找到了解决办法:从下载以下WHL 这里距离和spacy可读性WHL 这里 ,并用以下命令进行安装:

pip install [file.whl] --user --no-deps

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM