>     File "/usr/lib/python3.6/site-packages/gpiozero/pins/local.py", line 67, 
> in _get_revision
>       raise PinUnknownPi('unable to locate Pi revision in /proc/cpuinfo')
>   gpiozero.exc.PinUnknownPi: unable to locate Pi revision in /proc/cpuinfo

Hardcoding the version into the python2 file
/usr/lib/python2.7/site-packages/gpiozero/pins/local.py

exits with I/O error on /dev/mem when the few lines of python are run as
user (ok fine), and segfaults when run as root.

Volker

-- 
Volker Kuhlmann
http://volker.top.geek.nz/      Please do not CC list postings to me.
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to