flozz / rivalcfg

CLI tool and Python library to configure SteelSeries gaming mice
https://flozz.github.io/rivalcfg/
Do What The F*ck You Want To Public License
761 stars 62 forks source link

Install instructions for Fedora 33 #148

Open FazlyMR opened 3 years ago

FazlyMR commented 3 years ago

I'm trying to install rivalcfg and is having issues with hidapi errors, and the documentation doesn't have installation instructions for Fedora. I attached the error outputted in pip3 when installing rivalcfg. error.txt

flozz commented 3 years ago

I do not had time to answer you question and then I forget it... sorry... ^^'

You need build tools to install Rivalcfg. Seeing the logs you privided, it seems you do not have GCC. It seems that you can install what you need with the following command:

sudo dnf groupinstall "Development Tools" "Development Libraries"

(found instructions here)

You will probably need the Python's development package too, it can probably be installed with a command like this:

    sudo dnf install python3-devel
alexander-danilenko commented 3 years ago

I'm also using Fedora 33. Just installed it using pip3 with sudo:

sudo pip3 install rivalcfg

And now it works if I run it with sudo:

sudo rivalcfg --help
flozz commented 3 years ago

Normally you should not have to use sudo to run rivalcfg (except to install the udev rules with sudo rivalcfg --update-udev)