/dev/mem with python executed though web - Raspberry Pi Forums


hello,
have simple python script controls gpio. when want execute script in terminal must type sudo ./mypython.py . when type ./mypython.py runtime error saying : no access /dev/mem. try running root!. want execute script web ( using webiopi server ). can't because script need executed root user ( if right ).

there ( easy :) ) way set myscript.py doesn't need executed root user ?

!

viewtopic.php?f=31&t=77742

there plenty more threads on this. recommend pigpio.


raspberrypi



Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support