GPIO.add_event_detect( RuntimeError: Failed to add edge detection

Bonjour,
La configuration d’un écran tactile sur mon raspberry pi 4 à rendu inutilisable les sorties GPIO.
Je ne comprend pas ce qui à changé car avant mon programme fonctionnait et plus maintenant.
Voici le code très simple:

from gpiozero import Button
import time

Btp = 17

bouton = Button(Btp)

while True:

if bouton.is_pressed:
    print("btp appuye")
else:
    print("btp relache")
time.sleep(0.5)

et voici l’erreur:

/home/unissia/.local/lib/python3.9/site-packages/gpiozero/devices.py:300: PinFactoryFallback: Falling back from lgpio: module ‹ lgpio › has no attribute ‹ SET_BIAS_DISABLE ›
warnings.warn(
Traceback (most recent call last):
File « /home/unissia/Documents/btp.py », line 6, in
bouton = Button(Btp)
File « /home/unissia/.local/lib/python3.9/site-packages/gpiozero/devices.py », line 108, in call
self = super().call(*args, **kwargs)
File « /home/unissia/.local/lib/python3.9/site-packages/gpiozero/input_devices.py », line 412, in init
super().init(
File « /home/unissia/.local/lib/python3.9/site-packages/gpiozero/mixins.py », line 417, in init
super().init(*args, **kwargs)
File « /home/unissia/.local/lib/python3.9/site-packages/gpiozero/input_devices.py », line 168, in init
self.pin.when_changed = self._pin_changed
File « /home/unissia/.local/lib/python3.9/site-packages/gpiozero/pins/init.py », line 471, in
lambda self, value: self._set_when_changed(value),
File « /home/unissia/.local/lib/python3.9/site-packages/gpiozero/pins/pi.py », line 639, in _set_when_changed
self._enable_event_detect()
File « /home/unissia/.local/lib/python3.9/site-packages/gpiozero/pins/rpigpio.py », line 220, in _enable_event_detect
GPIO.add_event_detect(
RuntimeError: Failed to add edge detection

Avez vous une idée ??? Merci