0

Issue with CPB + CP: no module named 'keypad'
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Issue with CPB + CP: no module named 'keypad'

by cjbattagl on Fri Jul 23, 2021 5:24 pm

I've tried setting up the CPB with two different computers (an Arm Macbook Air and an x86 Macbook Pro), following the exact instructions to set up CircuitPython: https://learn.adafruit.com/adafruit-cir ... cuitpython

I've installed the v6 UF2 from: adafruit-circuitpython-circuitplayground_bluefruit-en_US-6.3.0.uf2
And installed the following libraries from: adafruit-circuitpython-bundle-6.x-mpy-20210723

adafruit_ble
adafruit_bluefruit_connect
adafruit_bus_device
adafruit_circuitplayground
adafruit_gizmo
adafruit_hid
adafruit_lis3dh.mpy
adafruit_thermistor.mpy
neopixel.mpy

I can get CircuitPython programs to run using libraries like board, however, when I try to import circuitplayground:

from adafruit_circuitplayground import cp

I get the error:

Traceback (most recent call last):
File "code.py", line 2, in <module>
File "adafruit_circuitplayground/__init__.py", line 10, in <module>
File "adafruit_circuitplayground/bluefruit.py", line 29, in <module>
File "adafruit_circuitplayground/circuit_playground_base.py", line 34, in <module>
ImportError: no module named 'keypad'

I've also tried with version 7 UF2 + libraries, and get a similar error

I've grepped for 'keypad' in other libs but they all seem to be for alternate hardware.

Is there an easy fix for this?

Thanks!

cjbattagl
 
Posts: 2
Joined: Fri Jul 23, 2021 5:14 pm

Re: Issue with CPB + CP: no module named 'keypad'

by cjbattagl on Fri Jul 23, 2021 5:49 pm

Update: I checked the Github, and it looks like someone has fixed this issue 4 hours ago.
Will just wait for the new lib update!

Thanks!

cjbattagl
 
Posts: 2
Joined: Fri Jul 23, 2021 5:14 pm

Please be positive and constructive with your questions and comments.