Sqlite3 working but using it in python: import sqlite3 says “ModuleNotFoundError: No module named ‘sqlite3’”
sqlite3 is supposed to be welded into python so it is significant loss if its not working. Using latest git clone. Enabled python-sqlite module in menuconfig. That compiled OK but python does not recognise “import sqlite3”.
And there can be other places where it has been disabled as well. I wish I could give you the solution right away, but it seems it will take more time. );
import pkgutil
# List all available modules
module_names = sorted([module.name for module in pkgutil.iter_modules()])
for name in module_names:
print(name)
But it was not compiled for the arduino branch - so may be try the instructions there for creating an image after switching to arduino branch and also if viable check what the differences are that made it work.
You can export these commits as patches and adapt paths to the files accordingly, so that you can apply them onto your own subbranch of that Ubuntu repo.
Probably Ubuntu is a dead end. Seems the rootfs made by buildroot is being replaced by ubuntu in its entirety. I can’t see how ubuntu knows which hardware board its running on. Back to try repair arduino branch for python sqlite3.
I tried enabling micropython as an alternative. It seems to compile without errors. When I run micropython it says micropython: not found. If I go to /usr/bin, microphthon is there: