Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/335.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python Spacy 2.0.11要求正则表达式==2017.4.5,但您';我们将使用不兼容的2017.11.9版正则表达式_Python_Macos_Pip - Fatal编程技术网

Python Spacy 2.0.11要求正则表达式==2017.4.5,但您';我们将使用不兼容的2017.11.9版正则表达式

Python Spacy 2.0.11要求正则表达式==2017.4.5,但您';我们将使用不兼容的2017.11.9版正则表达式,python,macos,pip,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. 请建议如何解决此问题,如下所示: pip install regex==2017.4

我正在使用
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.
请建议如何解决此问题,如下所示:

pip install regex==2017.4.5

一种可能是
spacy
regex
没有一起更新,导致差异

尝试升级
pip
并再次安装
spacy

pip install --upgrade pip

pip install spacy

我收到错误:-错误:命令“/usr/bin/clang”失败,退出状态为1------------------------------------------为regex构建控制盘失败,错误代码为/private/var/folders/7k/3qybm9cj5tz_thhs_05kt26w0000gn/T/pip-install-z2xxv4kx/regex中的1/