rm-hull / OPi.GPIO

RPi.GPIO drop-in replacement library for Orange Pi Zero and other SBCs
https://opi-gpio.readthedocs.io/
MIT License
184 stars 99 forks source link

usermod: group 'gpio' does not exist #47

Closed gounthar closed 4 years ago

gounthar commented 4 years ago

Hi,

I just installed OPi.GPIO on my OrangePi Zero running Armbian buster with Linux 5.4.31-sunxi. I followed the documentation but got the following error:

sudo pip3 install --upgrade OPi.GPIO
Collecting OPi.GPIO
  Downloading https://files.pythonhosted.org/packages/32/88/be49fa348875993d033cd4234ff4f27fab97265fe3e2687de3009816190d/OPi.GPIO-0.4.0-py2.py3-none-any.whl
Installing collected packages: OPi.GPIO
Successfully installed OPi.GPIO-0.4.0
sudo usermod -aG gpio poddingue
usermod: group 'gpio' does not exist

Do I have to create the group gpio by myself, or should the pip3 install do it for me? Thanks.

rm-hull commented 4 years ago

You should create it yourself. Pip3 won't do it for you. I am surprised the group does not already exist in the os though.

gounthar commented 4 years ago

I will report to the distro maintainers, thanks.