【发布时间】:2014-10-11 04:56:06
【问题描述】:
我不断收到一些权限被拒绝的错误,那是什么?
每次我尝试安装任何东西时,我在 python 中的 nltk 工具中都会收到相同的权限被拒绝错误消息
错误:无法创建'/usr/local/lib/python2.7/dist-packages/nameparser':权限被拒绝--------- ------------------- 清理... 命令 /usr/bin/python -c "import setuptools, tokenize;file='/ tmp/pip_build_vandana/nameparser/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'),文件,'exec'))" install --record /tmp/pip-4Rd7GE-record/install-record.txt --single-version-externally-managed --compile 失败,错误代码 1 在 /tmp/pip_build_vandana/nameparser在 /home/vandana/.pip/pip.log 中存储失败的调试日志
【问题讨论】:
-
您必须在帖子中包含完整的错误消息,以及导致错误消息的命令。
-
这可能过于简单,但不妨试试
sudo?
标签: python python-2.7 nltk