Trouble installing RPi.GPIO

Update, based on this thread I've tried to install the following:

opkg update
opkg install python3 python3-pip
opkg install luci-ssl-openssl curl ca-bundle #error - opkg_install_cmd: Cannot install package luci-ssl-openssl.
pip install virtualenv	
opkg install python3-dev
opkg install gcc
pip install --upgrade pip

But I'm still unable to install RPi.GPIO using pip or pip3

root@OpenWrt:~# pip install RPi.GPIO
Collecting RPi.GPIO
  Using cached RPi.GPIO-0.7.1.tar.gz (29 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: RPi.GPIO
  error: subprocess-exited-with-error
  
  × Building wheel for RPi.GPIO (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  Building wheel for RPi.GPIO (pyproject.toml) ... error
  ERROR: Failed building wheel for RPi.GPIO
Failed to build RPi.GPIO
ERROR: Could not build wheels for RPi.GPIO, which is required to install pyproject.toml-based projects


root@OpenWrt:~# pip3 install RPi.GPIO

Collecting RPi.GPIO
  Using cached RPi.GPIO-0.7.1.tar.gz (29 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: RPi.GPIO
  error: subprocess-exited-with-error
  
  × Building wheel for RPi.GPIO (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  Building wheel for RPi.GPIO (pyproject.toml) ... error
  ERROR: Failed building wheel for RPi.GPIO
Failed to build RPi.GPIO
ERROR: Could not build wheels for RPi.GPIO, which is required to install pyproject.toml-based projects