I'm running Ubuntu 15.10.
I've followed everything in this guide How to setup Dual Shock 4 controller with Ubuntu 13.10?
But when I do the
sudo pip install ds4drv
I get this error
evdev/input.c:10:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-tOdKBQ/evdev/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-vQVfkA-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-tOdKBQ/evdev
Storing debug log for failure in /home/charlie/.pip/pip.log