The old Adafruit Motor HAT Library is deprecated and non-functional. The new library is pip install Adafruit-MotorHAT
(plus you'll need pip3 install --break-system-packages adafruit-blinka
and pip3 install adafruit-circuitpython-motorkit --break-system-packages
).
This repo provides a drop-in replacement to use the new library. Woot!