Import error: No module

Hi,

I am super new to the embedded space and openmv. I am trying to import base64 and I am getting:

ImportError: no module named ‘base64’

Comming from the Linux world I know that I could:

pip install base64

Can anyone link me to a guide which describes how to get base64 onto my OpenMV H7?

Many thanks for your time,
Dave

Hi, not every module is available in micropython, please read the docs to see what you can import and how you can use it.
This may be a good alternative, it’s built-in you can just import it
http://docs.micropython.org/en/latest/library/ubinascii.html

Also this may or may not work, you need to download it (raw) copy it to the flash or SD and reset the cam
https://github.com/micropython/micropython-lib/blob/master/base64/base64.py


The docs:
https://docs.openmv.io/