我正在尝试在Mac(OSX El Capitain)上安装spaCy。我正在运行python 2.7,具有pip 18.0和setuptools 40.0。
每当我运行“ sudo pip install spacy”时,都会得到以下信息:
Installing collected packages: numpy, murmurhash, cymem, preshed, msgpack, msgpack-numpy, toolz, cytoolz, wrapt, plac, tqdm, six, dill, pathlib, thinc, ujson, regex, idna, urllib3, chardet, certifi, requests, spacy
Running setup.py install for murmurhash ... done
Running setup.py install for preshed ... done
Running setup.py install for msgpack ... done
Running setup.py install for toolz ... done
Running setup.py install for cytoolz ... done
Running setup.py install for wrapt ... done
Could not install packages due to an EnvironmentError: [Errno 1] Operation not permitted: '/System/Library/Frameworks/Python.framework/Versions/2.7/man'
因此,在plac软件包中必须有一些它不喜欢的东西。上述路径中的文件不存在。
还有其他人找到解决方案吗?