Skip to content

install Arduino ESP32 on Windows issue #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
versamodule opened this issue Dec 29, 2016 · 5 comments
Closed

install Arduino ESP32 on Windows issue #108

versamodule opened this issue Dec 29, 2016 · 5 comments

Comments

@versamodule
Copy link

I followed the tutorial here to set this up. I have tried it on 2 different computers, both having identical results. Win7-64bit and win10-64bit. I get the following error on both pc's
IOError: [Errno socket error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)

Below is the terminal output
Jim@DESKTOP-GSGCS1Q MINGW64 ~
$ mkdir -p ~/Documents/Arduino/hardware/espressif && \

cd ~/Documents/Arduino/hardware/espressif &&
git clone https://github.com/espressif/arduino-esp32.git esp32 &&
cd esp32/tools/ &&
python get.py
Cloning into 'esp32'...
remote: Counting objects: 2068, done.
remote: Total 2068 (delta 0), reused 0 (delta 0), pack-reused 2068
Receiving objects: 100% (2068/2068), 32.07 MiB | 303.00 KiB/s, done.
Resolving deltas: 100% (758/758), done.
Checking out files: 100% (813/813), done.
Platform: i686-mingw32
Downloading xtensa-esp32-elf-win32-1.22.0-59.zip
Traceback (most recent call last):
File "get.py", line 124, in
get_tool(tool)
File "get.py", line 83, in get_tool
urlretrieve(url, local_path, report_progress)
File "C:\Python27\lib\urllib.py", line 98, in urlretrieve
return opener.retrieve(url, filename, reporthook, data)
File "C:\Python27\lib\urllib.py", line 245, in retrieve
fp = self.open(url, data)
File "C:\Python27\lib\urllib.py", line 213, in open
return getattr(self, name)(url)
File "C:\Python27\lib\urllib.py", line 443, in open_https
h.endheaders(data)
File "C:\Python27\lib\httplib.py", line 1038, in endheaders
self._send_output(message_body)
File "C:\Python27\lib\httplib.py", line 882, in _send_output
self.send(msg)
File "C:\Python27\lib\httplib.py", line 844, in send
self.connect()
File "C:\Python27\lib\httplib.py", line 1263, in connect
server_hostname=server_hostname)
File "C:\Python27\lib\ssl.py", line 363, in wrap_socket
_context=self)
File "C:\Python27\lib\ssl.py", line 611, in init
self.do_handshake()
File "C:\Python27\lib\ssl.py", line 840, in do_handshake
self._sslobj.do_handshake()
IOError: [Errno socket error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)

Jim@DESKTOP-GSGCS1Q MINGW64 ~/Documents/Arduino/hardware/espressif/esp32/tools (master)

@me-no-dev
Copy link
Member

very interesting... I wrote the instructions as I was installing everything, but above I see some controversy...

  • Jim@DESKTOP-GSGCS1Q MINGW64 <<< mingw64
  • Platform: i686-mingw32 <<< mingw32

That does not look right? 32 or 64? how come I see both. Are you positive you are running on 64bit OS? If you are, did you install the 64bit versions of the required packages?

@versamodule
Copy link
Author

versamodule commented Dec 29, 2016 via email

@versamodule
Copy link
Author

I just uninstalled Python 32-bit, and installed 64-bit, but gave same results.
Included some screenshots to show that is what I have done.
2016-12-29_16-18-23
2016-12-29_16-19-19

@kriswiner
Copy link

I had the same problem, I just copied this file (xtensa-esp32-elf-win32-1.22.0-59.zip) into the ESP32/tools folder and unzipped and everything is fine.

me-no-dev pushed a commit that referenced this issue Jan 5, 2017
Added an Exception handling to the offending urlretrieve() call for the issue #108 #108

It's not really a fix but the failure message is much more elegant than the initial stack trace as it hints at the solution to the setup problem rather than confusing the user into Windows problems.
@me-no-dev
Copy link
Member

please check out the latest updates and reread the instructions for Windows. Python is no longer required :)

blue-2357 pushed a commit to blue-2357/arduino-esp32 that referenced this issue Jul 17, 2024
Added an Exception handling to the offending urlretrieve() call for the issue #108 espressif/arduino-esp32#108

It's not really a fix but the failure message is much more elegant than the initial stack trace as it hints at the solution to the setup problem rather than confusing the user into Windows problems.
brentru pushed a commit to adafruit/arduino-esp32 that referenced this issue Oct 22, 2024
Change build timeout from 60 to 120 seconds
dash0820 added a commit to dash0820/arduino-esp32-stripped that referenced this issue Mar 10, 2025
Added an Exception handling to the offending urlretrieve() call for the issue #108 espressif/arduino-esp32#108

It's not really a fix but the failure message is much more elegant than the initial stack trace as it hints at the solution to the setup problem rather than confusing the user into Windows problems.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants