【发布时间】:2015-01-05 04:40:47
【问题描述】:
我按照这个link 安装Gittle 库。但是当我运行命令时
$ pip install gittle
我收到一个错误:
命令 /usr/bin/python -c "import setuptools, 标记化;__file__='/tmp/pip_build_victor /gittle/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" 安装 --record /tmp/pip-aoyPEt-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_victor/gittle /home/victor/.pip/pip.log
我的Python 版本是2.7.6。
【问题讨论】:
-
日志是否提供了更多关于到底哪里出了问题的细节?
-
@ivan_pozdeev 好吧,我终于做到了。只是运行
sudo pip install gittle就成功了。 -
然后请将此作为答案添加并接受(作为徽章,也许还有一些代表)。
-
顺便说一句,这是一个恰当的典故:freesoftwaremagazine.com/articles/bizarre_cathedral_95
标签: python installation pip root sudo