It's ­čÉŹCircuitPython Monday­čÉŹ at Adafruit! Use the code ADATY to get 20% off CircuitPython and 15% off items storewide!
0

CircuitPython7 PyBadger
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

CircuitPython7 PyBadger

by MattPackwood on Fri Sep 24, 2021 11:51 am

Hi, I am getting an error after moving to CircuitPython7

Code: Select all | TOGGLE FULL SIZE
code.py output:
Traceback (most recent call last):
  File "code.py", line 4, in <module>
  File "adafruit_pybadger/__init__.py", line 12, in <module>
  File "adafruit_pybadger/clue.py", line 32, in <module>
ImportError: no module named 'gamepad'

Code done running.


Matt

MattPackwood
 
Posts: 63
Joined: Wed Jul 23, 2014 9:13 pm

Re: CircuitPython7 PyBadger

by adafruit_support_carter on Fri Sep 24, 2021 12:38 pm

That's a known change related to 7.0. There's an open issue for this here:
https://github.com/adafruit/Adafruit_Ci ... /issues/44

The change to fix is pretty simple. Keep an eye on that issue thread and I'm sure someone will get it fixed eventually.

adafruit_support_carter
 
Posts: 21875
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.