Spacy 2.0.11的要求是regex == 2017.4.5,但是您将拥有不兼容的regex 2017.11.9

Har*_*_pb 2 python macos pip

我正在使用,MacOS High Sierra并且在进行任何python相关安装时最近都遇到了此问题。我正在尝试更新设置工具

pip install --upgrade setuptools

>>>spacy 2.0.11 has requirement regex==2017.4.5, but you'll have regex 2017.11.9 which is incompatible.
Run Code Online (Sandbox Code Playgroud)

请提出如何解决此问题的建议

Val*_*ntz 6

像这样:

pip install regex==2017.4.5
Run Code Online (Sandbox Code Playgroud)