chrippa / ds4drv

A Sony DualShock 4 userspace driver for Linux
MIT License
1.05k stars 213 forks source link

Installation problems #55

Closed Okamooki closed 7 years ago

Okamooki commented 9 years ago

Installation fails with this error:

Command "/usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-jK6NYC/evdev/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-o3VBQV-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-jK6NYC/evdev

It seems like it might be a compiler error but i don't know how to proceed

Ape commented 9 years ago

Which Python version? Which OS? What command did you run?

Okamooki commented 9 years ago

os is ubuntu 14.04, i do not know how to check what python version pip uses

On Fri, Jul 31, 2015 at 9:42 AM, Lauri Niskanen notifications@github.com wrote:

Which Python version? Which OS? What command did you run?

— Reply to this email directly or view it on GitHub https://github.com/chrippa/ds4drv/issues/55#issuecomment-126695154.

Ape commented 8 years ago

Does this still occur?

dotWAVE commented 7 years ago

I have this same issue trying to sudo pip install ds4drv, running opensuse tumbleweed 20170703. pip is version 9.0.1 on python 3.6.

Edit: The problem has been solved, the python-devel package was missing.

Ape commented 7 years ago

I'm closing this. For anybody else who might have this issue in the future, try installing python-devel package (or equivalent on your distro).