rpi-lgpio is a compatibility package intended to provide compatibility with the rpi-gpio (aka RPi.GPIO) library, on top of kernels that only support the gpiochip device (and which have removed the deprecated sysfs GPIO interface).
You cannot install rpi-lgpio and rpi-gpio (aka RPi.GPIO, the library
it emulates) at the same time, in the same Python environment. Both
packages attempt to install a module named
RPi.GPIO and obviously this
will not work.