• 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

ESP32 CAM/Arduino ide compilation error

Q&A Forum › Category: Arduino › ESP32 CAM/Arduino ide compilation error
0 Vote Up Vote Down
Don Thomas asked 2 years ago

I am working with Module, Unit 3 “Camer Web Server” from the ESB32_CAM Project book.  The camera model is an AIThinker.  The following error message appears when compiling the sketch.  “exec: “pyghon” : executable fiel not found in $PATH”  Any assistance you can provide to address this error message is appreciated. 

5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
That is an issue with your Arduino IDE.
I recommend starting with a new installation and then install the ESP32 boards. I recommend using Arduino IDE legacy version 1.8.X (you can find it if you scroll down the page: https://www.arduino.cc/en/software).
 
Let me know if this helps.
Regards,
Sara

0 Vote Up Vote Down
Don Thomas answered 2 years ago

Thank you for the reply and recommendation.  I did re-install the IDE on my Debian system and received the same results.  I then installed the ID on an Ubuntu system.  This resulted with different and additional error messages.  I was finally able to complete a no-error compilation on a Windows 10 laptop.  I am currently using the ESP32-CAM-MB board.  None of my computers are recognizing the CH340C USB to Serial IC.  I have an FTDI programmer on order.  Hopefully this USB-Serial adapter will connect to my computer.  This has been a great learning process and it will continue.  Again, thank you for the assistance.

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi agian.
Unfortunately, I don’t have experience using the Arduino IDE on Debian or Linux…
 
If your computer is not recognizing the drivers, it may be the case that they are not installed on the computer by default. So, you may need to install the CH340 drivers.
You can easily find the instructions with a quick google search.
I hope this helps.
Regards,
Sara

0 Vote Up Vote Down
Don Thomas answered 2 years ago

I finally succeeded in uploading the Sketch to my AI-Thinker ESP32-Cam board.  The trick was to use the FDTI programmer module and connect to the ground lead to the GND pin located next to the 5V pin on the board.  The ESP32-CAM Projects eBook shows connecting the ground to the GND pin next to the VOT pin.  I do not know why this would make a difference.  I have AI-Thinker ESP32-CAM boards from two different suppliers.  The boards are slightly different.  The method described worked with both model boards.  One of the boards would let me use the GND pin next to the VOT pin.  The trick was to set the FTDI programmer to 3.3 V when uploading the Sketch.  The second part of the trick was to revert back to 5V when operating the ESP32-CAM module.  Perhaps others might find this information useful.

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
 
Thank for sharing those details.
I didn’t know about that.
 
All my boards work that way… But as you mentioned, there are currently many different suppliers, and there are several different versions… that probably work slightly different.
 
I’ll add a note about that issue in the next ebook update.
 
Thanks for that.
Regards,
Sara

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.