I've used Ampy to load micropython and boot.py to my board (ESP32 devkitv1--I think this is basically a node MCU knockoff).
Importing SQLite3 like in normal Python didn't work, so I tried
Code: Select all
upip.install("micropython-sqlite3")
Next I tried downloading the source code for SQLite3 and FFILIB from https://github.com/micropython/micropython-lib and putting these files directly on my board next to boot.py. At this point I got a NoneType error stemming from this line of code in SQLite3.py:
Code: Select all
sq3 = ffilib.open("libsqlite3")
Code: Select all
import sqlite3
Long story short--am I doing something wrong, or is it not even possible to run a SQLite database on the ESP32 yet?