启动cpp-coverall时出错

时间:2014-03-08 15:14:48

标签: python c++ coveralls

当我启动cpp-coveralls实用程序将我的代码覆盖率结果发送到http://coveralls.io时,我总是收到此错误:

$ coveralls 
Traceback (most recent call last):
  File "/usr/local/bin/coveralls", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module>
    working_set.require(__requires__)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: requests

我尝试了两个python版本(2.7.2和3.3.3),但我总是有相同的结果...... 我在本地和我的测试项目的travis构建中得到了这个错误:

我在这里发布了一个问题:https://github.com/eddyxu/cpp-coveralls/issues/27但我想知道它是不是来自我的配置......

0 个答案:

没有答案