After connecting my ESP32 and finding a USB cable that would identify it as “/dev/ttyUSB0” I can’t upload sketches to my ESP32. I get the following error.
Arduino: 1.8.7 (Linux), Board: "Node32s, 80MHz, 921600" Traceback (most recent call last): File "/home/ipc/.arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py", line 37, in <module> import serial ImportError: No module named serial exit status 1 Error compiling for board Node32s.
Any ideas on how to fix this? Sorry I am such a NOOB in advance!!! Do I need to install python even though I am just using the Arduino IDE to create and upload sketches?
Hello Steve, I hope you are doing well and I apologize for taking so long to get back to you.
Someone else also reported that issue last week: https://rntlab.com/question/esp32-compiling-error/
I also tried to re-install Ubuntu on Virtual Machine to see if I could reproduce the error on my end, but it installed just fine. To be honest I’m not sure what happened.
Can you try to remove the Arduino and ESP32 board installation. Then, can you re-install? Make sure you’re using the latest Arduino IDE 1.8.9.
John said that what made it work in his case: https://rntlab.com/question/esp32-compiling-error/
Thanks for your patience!
Regards,
Rui