MicroPython_ESP32_psRAM_LoBo
MicroPython_ESP32_psRAM_LoBo copied to clipboard
Build Requiring Python 2.7
I still dont understand why, but the pyserial for python 2.7 apparently works differently than 3, because I get errors concerning pyserial with only python 3 installed (ex. Ubuntu 20.04).
Specifically "ImportError: No module named serial.tools.list_ports"
I looked it up, and apparently according to this post: https://github.com/espressif/esptool/issues/379#issuecomment-441406397
python 2.7 is what fixes this issue. I dont know if this is a siple fix, or requires an overhaul, but for now, I dont think we can compile this on ubuntu v20 or higher. Stick to v18.
Just confirmed. Switched to Ubuntu 18.04 with python 2.7 installed, the build process ran without a hitch.
edit: Cant flash to make sure. WSL2 doesn't support USB devices as of now.