-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pip install error, evdev/ecodes.c:706:29: error: 'ABS_RESERVED' undeclared (first use in this function) #166
Comments
After some Also, I still wonder how this problem could occur in the first place. As far as I understand, |
Ok, strange, now I get the same error again, but for Python 3.9 (after |
I checked, my |
So, I checked, I added
And I have the file |
For reference:
|
But anyway, I think the main problem is that So I think there are two potential options:
|
Hm ok for some reason this can not be seen in the initial log. Here the new snippet:
|
Note, as a temporary workaround, this could be done:
|
I can confirm that this indeed works. My linux kernel is 5.10.60.1 (WSL2) and my homebrew linux-headers version is |
I'm also having a similar issue with CentOS 7, kernel 5.14.8, Python 3.9 (and 3.9.9). Pip fails, building from source also fails, even tried adding the include files from the kernel source (though they are indeed also in /usr/include/linux).
|
@IanTrudel, I couldn't reproduce this - CentOS 7, Python 3.9.9 (through pyenv), linux-headers and |
I encountered the problem.
|
I solved this problem.
to use system compiler |
pip3 install --user evdev
with Python 3.8 (via Linuxbrew) on Ubuntu 16.04:The text was updated successfully, but these errors were encountered: