Page 1 of 1

How to install evdev package & PySide6

Posted: 03 Jan 2025, 18:14
by rejgeo
Hi All,

I'm new to the Revolution Pi (RevPi) ecosystem and am currently facing a couple of issues. I'm trying to read from a HID barcode scanner using the evdev library, but I've encountered the following problems:

When I try to install evdev using pip3,
I get the error:
pip: command not found
When I attempt to install pip3 using:
sudo apt install python3-pip
I receive the error:
Unable to locate package python3-pip

I’m wondering if third-party Python libraries are not supported on the Revolution Pi, or if there's something I’m missing. Can anyone shed some light on this?

Additionally, I would also like to know if anyone has successfully gotten PySide6 (Qt for Python) working on the RevPi, and if there are any example codes available for that.

Thanks in advance for your help!
Regards,
Rejoy

Re: How to install evdev package & PySide6

Posted: 08 Jan 2025, 08:33
by nicolaiB
Probably missing the apt cache. Try 'sudo apt update' before installing python3-pip.

Nicolai