我正在尝试在ubuntu上安装gcovr
pip install gcovr但是它给出了这个错误
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_mymachine/gcovr/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-uqjIdg-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_mymachin/gcovr将失败的调试日志存储在/home/mymachin/.pip/pip.log中
有什么想法吗?
谢谢
发布于 2015-07-02 04:15:46
我以这种方式安装它没有问题:
sudo pip install gcovr没有错误。
如果你使用的是Ubuntu 14.04,你可能需要升级你的pip。
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
sudo python get-pip.pyhttps://stackoverflow.com/questions/31170672
复制相似问题