ImportError: no module named 'camera'
shooorf opened this issue · 3 comments
shooorf commented
SergiuDeveloper commented
I encountered the same issue.
Tiago-Ferreira-Git commented
Same problem with an ai thinker esp32 cam
Constantin-dcx commented
Hello, I faced the same issue and found that MICROPY_PY_CAMERA
in modcamera.c was not defined anywhere. There might have been an error in naming since mpconfigboard.h for the MICROLITE_SPIRAM_CAM defines MODULE_CAMERA_ENABLED
instead.
To fix this I simply added #define MICROPY_PY_CAMERA
to the mpconfigboard.h.