letiantian / TextRank4ZH

:deciduous_tree:从中文文本中自动提取关键词和摘要
MIT License
3.29k stars 849 forks source link

cannot create dir when installing networkx #6

Closed jrong75 closed 8 years ago

jrong75 commented 8 years ago
creating /System/Library/Frameworks/Python.framework/Versions/2.7/share
error: could not create '/System/Library/Frameworks/Python.framework/Versions/2.7/share': Operation not permitted

----------------------------------------

Command "/usr/bin/python -c "import setuptools, tokenize;file='/private/tmp/pip-build-Ol6WG2/networkx/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-8kdl8t-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-Ol6WG2/networkx

letiantian commented 8 years ago

应该是权限问题。我对mac不熟,使用Mac下的类似root的权限试一下。