Skip to content
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

stopped with HID attribute Error #118

Open
giowoo opened this issue Apr 21, 2022 · 4 comments
Open

stopped with HID attribute Error #118

giowoo opened this issue Apr 21, 2022 · 4 comments

Comments

@giowoo
Copy link

giowoo commented Apr 21, 2022

t@t-VirtualBox:~/joycontrol$ sudo python3 ./run_controller_cli.py PRO_CONTROLLER
Traceback (most recent call last):
File "./run_controller_cli.py", line 10, in
from joycontrol import logging_default as log, utils
File "/home/t/joycontrol/joycontrol/utils.py", line 5, in
import hid
File "/usr/local/lib/python3.8/dist-packages/hid/init.py", line 83, in
hidapi.hid_get_input_report.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_size_t]
File "/usr/lib/python3.8/ctypes/init.py", line 386, in getattr
func = self.getitem(name)
File "/usr/lib/python3.8/ctypes/init.py", line 391, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /lib/x86_64-linux-gnu/libhidapi-hidraw.so.0: undefined symbol: hid_get_input_report

@julianhu1979
Copy link

same issue. on Raspberry Pi 4

@xhw0525
Copy link

xhw0525 commented Apr 25, 2022

pip install hid==1.0.4

@xhw0525
Copy link

xhw0525 commented Apr 25, 2022

I can run normally But I can't connect to my switch

@rorokapur
Copy link

I am having the same issue on a Pi 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants