• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Sketch Uploads via Arduino IDE on Ubuntu

Q&A Forum › Category: Arduino › Sketch Uploads via Arduino IDE on Ubuntu
0 Vote Up Vote Down
Steve Baker asked 6 years ago

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?

Question Tags: Arduino, Arduino IDE, ESP32, Import Serial Errors
1 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

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

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.