简体   繁体   中英

installing gcovr on ubuntu using pip

I am trying to intall gcovr on ubuntu using

pip install gcovr

but it gives this error

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

Storing debug log for failure in /home/mymachin/.pip/pip.log

Any ideas?

Thanks

I had no problems installing it this way:

sudo pip install gcovr

No errors.

If you're on Ubuntu 14.04, you may need to upgrade your pip.

curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
sudo python get-pip.py

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM