An incomplete webioPI clone of the Orange-Pi series.
$ sudo apt install python3-pip python3-setuptools
$ sudo python3 -m pip -V
pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
$ sudo python3 -m pip install -U pip
$ sudo python3 -m pip -V
pip 22.0.4 from /home/orangepi/.local/lib/python3.7/site-packages/pip (python 3.7)
$ sudo python3 -m pip install -U wheel
$ sudo python3 -m pip install flask
Install from here.
$ sudo apt install python3-dev python3-pip
$ git clone https://github.com/nopnop2002/webioOP
$ cd webioOP
$ python3 setup.py build
$ sudo python3 setup.py install
$ python3 -m pip list -l | grep Gpio
GpioMethod 1.0
$ sudo python3 ./gpio_test.py
$ cd $HOME/webioOP
$ sudo python3 ./webioOP.py
Edit this.
$ vi webioOP.py
import opi_pc
#import opi_pc2
#import opi_pc3
#import opi_pc4
#import opi_zero
#import opi_lite2
PINS = opi_pc.PINS
#PINS = opi_pc2.PINS
#PINS = opi_pc3.PINS
#PINS = opi_pc4.PINS
#PINS = opi_zero.PINS
#PINS = opi_lite2.PINS
$ cd template
$ cp webioOP.html.btn webioOP.html
$ cd ..
$ sudo python3 ./webioOP.py
$ cd template
$ cp webioOP.html.icon webioOP.html
$ cd ..
$ sudo python3 ./webioOP.py