cm-rgb: Several installation problems
Following installation guide on a fresh linux mint install I got some missing dependency problems
1. Missing deps
Can be installed by executing:
pip install wheel
pip install enum
I don’t know much about python ecosystem, perhaps those deps could be added as project dependencies or at least document that in the installation guide
2. pip bin dir not in path
I had to manually add it in .bashrc
export PATH="$HOME/.local/bin/:$PATH"
3. /usr/bin/sh
not found when executing cm-rgb-cli add-udev-rule
$ cm-rgb-cli add-udev-rule
sudo: /usr/bin/sh: command not found
Failed to create /etc/udev/rules.d/60-cm-rgb.rules
Quick & dirty workaround
sudo ln -s /bin/sh /usr/bin/sh
Hope this helps someone
Thanks for your great work!
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 19 (10 by maintainers)
I’m happy it has worked for you. I’ll leave this issue open for now, I’ll update wiki on weekend.
I already did that:
But was still requiring sudo, to avoid that, I had to add myself to the
dialout
groupAfter restarting the session, everything works as expected
As a final note, some commands in README are using different (outdated?) parameter names
Thanks for your quick support!
Got it
install using pip3
(my pip uses python2)pip3 install xxx
(wheel
,pysensors
, maybe others, I don’t remember)cm-rgb-monitor --show-temp
fails but executing with sudo works:sudo `which cm-rgb-monitor` --show-temp
In the mean time take a look at this: https://stackoverflow.com/questions/14617136/why-is-pip-installing-an-old-version-of-my-package
Not in a hurry, we can continue later, thanks! 😉