This is unfortunately one of the problems with trying to run Python on microcontrollers: theyâre generally designed for very compact C code, and often donât have an ideal amount of memory for Python. This is one of the reasons Python simply canât run on the Arduino-style processors, runs with some limitations on chips with moderate amounts of memory like the SAMD21 chip in the QtPy, and runs better on chips with lots of memory like the SAMD51 chips.
If youâre trying to load the whole CircuitPython Library itâll probably complain that there isnât enough space on the board for that, but you can actually pick specific modules from the library to load onto the board: you donât have to load everything.