Is there a 16x2 i2c LCD python module ?

This is something that I thought I would find easily. I have a 12c backpack that connects to a 16x2 LCD panel.
https://www.adafruit.com/product/292

I thought for sure I could download Python code to use it but I guess not.

I installed this from adafruit
pip3 install adafruit-circuitpython-charlcd
and in the example the first line
import board failed.

import board
import digitalio
import adafruit_character_lcd.character_lcd as character_lcd
So is panel or lib out there that works with the beaglebone black via i2c ?


On Tue, 25 Jun 2019 10:23:10 -0700 (PDT),
chicagobob123@gmail.com declaimed the
following:

This is something that I thought I would find easily. I have a 12c backpack
that connects to a 16x2 LCD panel.
https://www.adafruit.com/product/292

I thought for sure I could download Python code to use it but I guess not.
I installed this from adafruit
pip3 install adafruit-circuitpython-charlcd

  That package is primarily to be used with their version of
"circuitpython" which runs on microcontroller boards (Adafruit Metro M4,
for example) that don't have an operating system.

https://learn.adafruit.com/welcome-to-circuitpython/what-is-circuitpython

Supported boards are at
https://circuitpython.org/downloads

  However... The circuitpython documentation has a section on using it on
a Raspberry-Pi... Using an interface package to translate the CircuitPython
hardware I/O to Linux compatible operations.

https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/circuitpython-raspi
https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/installing-circuitpython-on-raspberry-pi

You will probably have to follow that and edit the needed files to map the
I/O to the Beagle equivalent. (Actually, it looks like Beaglebone Black and
Pocket Beagle definitions were added April 2, so you might get away with
just installing that library)

https://github.com/adafruit/Adafruit_Blinka