Hello - I’m trying to get my explorer hat working with my rasberryPi4. I Used the imager to install RaspberryPi OS (32Bit)
I’ve purchased this product if that helps:
Explorer HAT Pro - Prototyping Board for Raspberry Pi Projects – Pimoroni
I’m following the setup instructions here, and have followed all the steps:
Getting Started with Explorer HAT (pimoroni.com)
When I get to the step that says:
At this prompt you can type anything you’d normally put into a Python script. To use Explorer HAT we first need to import it, so type:
>>> import explorerhat
I get the following error message:
AttributeError: ‘AsyncWorker’ object has no attribute ‘isAlive’
I’m not sure how to proceed at this point. Does anyone know what I’ve missed, or how to fix?
Thank you
I get the same message - I think the test.py is the same test that I was running before. Here is the output from the console:
>>> %Run test.py
Explorer HAT Pro detected...
Traceback (most recent call last):
File "/home/pi/Pimoroni/explorerhat/examples/test.py", line 5, in <module>
import explorerhat
File "/usr/lib/python3/dist-packages/explorerhat/__init__.py", line 756, in <module>
touch._add(one=CapTouchInput(4, 1))
File "/usr/lib/python3/dist-packages/explorerhat/__init__.py", line 595, in __init__
_cap1208.on(channel=self.channel, event=event, handler=self._handle_state)
File "/usr/lib/python3/dist-packages/cap1xxx.py", line 386, in on
self.start_watching()
File "/usr/lib/python3/dist-packages/cap1xxx.py", line 400, in start_watching
self.async_poll.start()
File "/usr/lib/python3/dist-packages/cap1xxx.py", line 208, in start
if self.isAlive() == False:
AttributeError: 'AsyncWorker' object has no attribute 'isAlive'