loboris / MicroPython_ESP32_psRAM_LoBo

MicroPython for ESP32 with psRAM support
Other
830 stars 344 forks source link

ImportError: no module named "display" #237

Closed justinmoon closed 6 years ago

justinmoon commented 6 years ago

I followed the setup instructions on Linux with an m5stack. When I open a REPL I am unable to import the display module. It doesn't seem to exist:

>>> help("modules")
__main__          logging           socket            upip
_thread           machine           ssd1306           upip_utarfile
ak8963            math              ssl               upysh
array             microWebSocket    struct            urandom
binascii          microWebSrv       sys               ure
builtins          microWebTemplate  time              urequests
cmath             micropython       tpcalib           uselect
collections       mpu6500           ubinascii         usocket
errno             mpu9250           ucollections      ussl
freesans20        network           uctypes           ustruct
functools         os                uerrno            utime
gc                pye               uhashlib          utimeq
hashlib           random            uheapq            uzlib
heapq             re                uio               writer
io                requests          ujson             ymodem
json              select            uos               zlib
Plus any modules on the filesystem

Any idea what is going on here?

justinmoon commented 6 years ago

I'm missing other modules, too. For example, the ssh module.

justinmoon commented 6 years ago

Display module is present when I flash a pre-built firmware

justinmoon commented 6 years ago

My problem was that ./BUILD.sh menuconfig was failing silently: https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/issues/238

Closing this issue and leaving that one open.