• 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 Board installation in Arduino IDE

Q&A Forum › Category: Arduino › ESP32 Board installation in Arduino IDE
0 Vote Up Vote Down
Jean INYZANT asked 5 years ago

Hi everyone,
I am trying to install the ESP32 Board in Arduino IDE under MacOS. Unfortunately, I have an error at the end of the installation, a priori when installing the “get.py” script.
Could you help me ?
Here are the error messages :
Downloading mkspiffs-0.2.2-arduino-esp32-osx.tar.gz
Traceback (most recent call last):
File “get.py”, line 148, in 
get_tool(tool)
File “get.py”, line 103, in get_tool
urlretrieve(url, local_path, report_progress)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py”, line 98, in urlretrieve
return opener.retrieve(url, filename, reporthook, data)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py”, line 245, in retrieve
fp = self.open(url, data)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py”, line 213, in open
return getattr(self, name)(url)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py”, line 443, in open_https
h.endheaders(data)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py”, line 997, in endheaders
self._send_output(message_body)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py”, line 850, in _send_output
self.send(msg)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py”, line 812, in send
self.connect()
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py”, line 1212, in connect
server_hostname=server_hostname)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py”, line 350, in wrap_socket
_context=self)

Thanks so much
Best regards

Question Tags: ESP32
3 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 5 years ago

Hi Jean,
I’ve used Python 2.7 on my Mac OS to install the ESP32 on Arduino IDE and it should work just fine. I’ve searched your problem and it seems that some people experienced that problem too.
Can you upgrade your Python installation from 2.7.X to 3.X?
Run this command to install Homebrew:

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Run these commands to install openssl and Python 3:

$ brew update
$ brew install openssl
$ brew install python3

Test which Python version do you have with:

$ python --version
Python 3.6.4

If it upgraded to 3.6.X. Then, follow the same procedure on Installing the ESP32 Board in Arduino IDE Unit:

mkdir -p ~/Documents/Arduino/hardware/espressif && \
cd ~/Documents/Arduino/hardware/espressif && \
git clone https://github.com/espressif/arduino-esp32.git esp32 && \
cd esp32 && \
git submodule update --init --recursive && \
cd tools && \
python get.py

Did it work?
Regards,
Rui

0 Vote Up Vote Down
Jean INYZANT answered 5 years ago

Hi everybody,
My problem is solved.
I followed Rui’s above instructions to the letter and now it works. I am really happy.
Thanks a lot

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

You’re welcome. Thanks for letting me know that it worked Jean! Happy to hear that 🙂

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.