• 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

Arduino IDE – Error in command line, need pyserial path

Q&A Forum › Category: Arduino › Arduino IDE – Error in command line, need pyserial path
0 Vote Up Vote Down
yvonne asked 6 years ago

Hi Rui,

I can update my sketch to the NodeMCU.

This is what the IDE message is:

Error in command line, need pyserial path as 1th arg and esptool path as 2nd.

I have posted this problem in the Arduino forum and in the NodeMCU forum, but until now no solution. I’m working on a Linux pc.

I hope you recognize this error message and that you can give me some advice.

Thank you in advance.
Yvonne

3 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

I’ve never encountered that error… What are you trying to do that triggers that error message?

0 Vote Up Vote Down
yvonne answered 6 years ago

This is the solution I found:

  • Delete the /home/myname/arduino-1.8.8/hardware/esp8266com folder
  • Delete all the files except for preferences.txt in ~/.arduino15
  • Delete ~/.arduino15/packages/esp8266
  • (In the Arduino IDE) Tools > Board > Boards Manager
  • Wait for downloads to finish.
  • Scroll down through the available packages until you see “esp8266 by ESP8266 Community”. Click on it.
  • Click “Install”.
  • Wait for installation to finish.
  • Click “Close”.
  • Select and ESP8266 board from the Tools > Board menu.
  • Compile a sketch to see if it’s working now.

Regards,
Yvonne

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Thank you for posting the solution Yvonne. If more people experience this error, I’ll either point them to your solution or create a dedicated troubleshooting guide for this subject. 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

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 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.