sudo python3 blinkingLED.py
/usr/lib/python3/dist-packages/gpiozero/devices.py:295: PinFactoryFallback: Falling back from lgpio: ‘can not open gpiochip’
warnings.warn(
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/gpiozero/pins/pi.py”, line 408, in pin
pin = self.pins[info]
~~~~~~~~~^^^^^^
KeyError: PinInfo(number=11, name=‘GPIO17’, names=frozenset({‘BOARD11’, 17, ‘J8:11’, ‘17’, ‘GPIO17’, ‘BCM17’, ‘WPI0’}), pull=‘’, row=6, col=1, interfaces=frozenset({‘’, ‘spi’, ‘dpi’, ‘gpio’, ‘uart’}))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/nlawver/blinkingLED.py”, line 4, in
led = LED(17)
^^^^^^^
File “/usr/lib/python3/dist-packages/gpiozero/devices.py”, line 103, in call
self = super().call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/gpiozero/output_devices.py”, line 192, in init
super().init(pin, active_high=active_high,
File “/usr/lib/python3/dist-packages/gpiozero/output_devices.py”, line 74, in init
super().init(pin, pin_factory=pin_factory)
File “/usr/lib/python3/dist-packages/gpiozero/mixins.py”, line 75, in init
super().init(*args, **kwargs)
File “/usr/lib/python3/dist-packages/gpiozero/devices.py”, line 549, in init
pin = self.pin_factory.pin(pin)
^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/gpiozero/pins/pi.py”, line 410, in pin
pin = self.pin_class(self, info)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/gpiozero/pins/rpigpio.py”, line 101, in init
GPIO.setup(self._number, GPIO.IN, self.GPIO_PULL_UPS[self._pull])
RuntimeError: Cannot determine SOC peripheral base address
every time i try and run the 1.1.1 blinking LED script it gives me an error, my GPIO pins are fine, what is going wrong?