'AsyncWorker' object has no attribute 'isAlive' when trying to import explorerhat

I’m trying to follow the Pimoroni getting started guide but am having trouble getting anything to work.
When I try to run drums.py I get the following errors:

Blockquote Explorer HAT Pro detected…
Traceback (most recent call last):
File “/home/pi/Pimoroni/explorerhat/examples/drums.py”, line 11, in
import explorerhat
File “/usr/lib/python3/dist-packages/explorerhat/init.py”, line 756, in
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’
Explorer HAT exiting cleanly, please wait…
Stopping flashy things…
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/explorerhat/init.py”, line 689, in explorerhat_exit
light.stop_pulse()
File “/usr/lib/python3/dist-packages/explorerhat/pins.py”, line 92, in handler
return self._do(name, *args, **kwargs)
File “/usr/lib/python3/dist-packages/explorerhat/pins.py”, line 111, in _do
_results[node] = handler(*args, **kwargs)
File “/usr/lib/python3/dist-packages/explorerhat/init.py”, line 480, in stop_pulse
self.pulser.stop()
File “/usr/lib/python3/dist-packages/explorerhat/pins.py”, line 20, in stop
if self.isAlive():
AttributeError: ‘Pulse’ object has no attribute ‘isAlive’
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/cap1xxx.py”, line 409, in stop_watching
self.async_poll.stop()
File “/usr/lib/python3/dist-packages/cap1xxx.py”, line 213, in stop
if self.isAlive() == True:
AttributeError: ‘AsyncWorker’ object has no attribute ‘isAlive’
Exception ignored in: <function Cap1xxx.del at 0xb32f34a8>
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/cap1xxx.py”, line 522, in del
File “/usr/lib/python3/dist-packages/cap1xxx.py”, line 409, in stop_watching
File “/usr/lib/python3/dist-packages/cap1xxx.py”, line 213, in stop
AttributeError: ‘AsyncWorker’ object has no attribute ‘isAlive’

Likewise when I try to run ‘import explorerhat’, I get the following:

Blockquote Explorer HAT Pro detected…
Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/python3/dist-packages/explorerhat/init.py”, line 756, in
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’

I’m running a pretty fresh install of Raspbian that as far as I can tell is fully updated.
I did run the curl script once before, but I think because I2C was switched off it didn’t work. I then switched it on and ran it again, which seems to have got me closer but still not actually working.

I’m open to any suggestions on this, the Explorer Hat seems like a great way to start learning electronics in general - I’m really hoping my weekend can be spent building things rather than trouble shooting haha!

Hi there!
I got exact the same error while trying to import explorer hat. Also fresh Raspian, I2C is running, system is updated and upgraded. Can anyone help?

I know it is kinda late but I thought if someone else has the same issue it might be useful to have another possible solution.

I had the same issues: first i had to enable i2c manually and then i got this AsyncWorker error.
In my case the issue was that explorerhat was always on version0.4.2 even with updating/upgrading. I fixed it by removing it entirely: sudo apt-get --purge remove python3-explorerhat
and then following the steps indicated by sandyjmacdonald: Explorer HAT install instructions - #4 by sandyjmacdonald

git clone http://github.com/pimoroni/explorer-hat
then
cd explorer-hat/library
then
sudo python setup.py install

now it is on version 0.5.1 and works just fine.