• 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

Python Error compiling "CameraWebServer"

Q&A Forum › Python Error compiling "CameraWebServer"
0 Vote Up Vote Down
Paul Wheeler asked 2 years ago
3 Answers
0 Vote Up Vote Down
Paul Wheeler answered 2 years ago

Reading from esp 32 projects book it says to try the “CameraWebServer” example. Tried to compile code. Got 3 errors:

  1. exec: “python”: executable file not found in $path
    Error compiling for board TTGO T1
    I have python 2.7 and python 3 installed on my system.
    Why does the compiler not find one of my pythons?
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi Paul.
Did you add Python to PATH when you installed Python?
If not, I adivse you to uninstall Python and install it again. But don’t forget to add it to PATH.

Go to python.org/download and download Python.

Open the downloaded file to start the Python installation wizard.

The following window shows up.

Installing Python 3.8.5 on a Windows PC and Add to Path

IMPORTANT: Make sure you check the option Add Python to PATH. Then, you can click on the Install Now button.

When the installation is successful you’ll get the following message.

Python Installation successful on Windows PC

You can click the Close button.

Then, try compiling the code again.

Regards,
Sara

0 Vote Up Vote Down
Steve Mercer answered 2 years ago

Or just add the location of your Python executable to your PATH – https://geek-university.com/python/add-python-to-the-windows-path/

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] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

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

Copyright © 2013-2023 · 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.