mirror of
				https://github.com/0xFEEDC0DE64/arduino-esp32.git
				synced 2025-11-04 08:01:38 +01:00 
			
		
		
		
	Executing python2 get.py behind proxy give error "IOError: [Errno socket error] [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:590)"
		
			
				
	
	
		
			37 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
Installation instructions for Debian / Ubuntu OS
 | 
						|
=================================================
 | 
						|
 | 
						|
- Install latest Arduino IDE from [arduino.cc](https://www.arduino.cc/en/Main/Software)
 | 
						|
- Open Terminal and execute the following command (copy->paste and hit enter):
 | 
						|
 | 
						|
  ```bash
 | 
						|
  sudo usermod -a -G dialout $USER && \
 | 
						|
  sudo apt-get install git && \
 | 
						|
  wget https://bootstrap.pypa.io/get-pip.py && \
 | 
						|
  sudo python get-pip.py && \
 | 
						|
  sudo pip install pyserial && \
 | 
						|
  mkdir -p ~/Arduino/hardware/espressif && \
 | 
						|
  cd ~/Arduino/hardware/espressif && \
 | 
						|
  git clone https://github.com/espressif/arduino-esp32.git esp32 && \
 | 
						|
  cd esp32 && \
 | 
						|
  git submodule update --init --recursive && \
 | 
						|
  cd tools && \
 | 
						|
  python3 get.py
 | 
						|
  ```
 | 
						|
- Restart Arduino IDE
 | 
						|
 | 
						|
 | 
						|
 | 
						|
- If you have Arduino installed to ~/, modify the installation as follows, beginning at `mkdir -p ~/Arduino/hardware`:
 | 
						|
 | 
						|
  ```bash
 | 
						|
  cd ~/Arduino/hardware
 | 
						|
  mkdir -p espressif && \
 | 
						|
  cd espressif && \
 | 
						|
  git clone https://github.com/espressif/arduino-esp32.git esp32 && \
 | 
						|
  cd esp32 && \
 | 
						|
  git submodule update --init --recursive && \
 | 
						|
  cd tools && \
 | 
						|
  python3 get.py
 | 
						|
  ```
 |