ningzb@ningzb-VirtualBox:~/esp/esp-idf$ ./install.sh
Installing ESP-IDF tools
Installing tools: xtensa-esp32-elf, esp32ulp-elf, openocd-esp32
Skipping
xtensa-esp32-elf@esp32-2019r1-8.2.0 (already installed)
Skipping
esp32ulp-elf@2.28.51.20170517 (already installed)
Installing
openocd-esp32@v0.10.0-esp32-20190708
Downloading openocd-esp32-linux64-0.10.0-esp32-20190708.tar.gz to /home/ningzb/.espressif/dist/openocd-esp32-linux64-0.10.0-esp32-20190708.tar.gz.tmp
3%Traceback (most recent call last):
File "/home/ningzb/esp/esp-idf/tools/idf_tools.py", line 1317, in
main(sys.argv[1:])
File "/home/ningzb/esp/esp-idf/tools/idf_tools.py", line 1313, in main
ac
tion_func(args)
File "/home/ningzb/esp/esp-idf/tools/idf_tools.py", line 1107, in action_install
tool_obj.download(tool_version)
File "/home/ningzb/esp/esp-idf/tools/idf_tools.py", line 541, in download
urlretrieve(url, local_temp_path, report_progress if not global_non_interactive else None)
File "/usr/lib/python2.7/urllib.py", line 98, in urlretrieve
return opener.retrieve(url, filename, reporthook, data)
File "/usr/lib/python2.7/urllib.py", line 273, in retrieve
block = fp.read(bs)
File "/usr/lib/python2.7/socket.py", line 384, in read
data = self._sock.recv(left)
File "/usr/lib/python2.7/ssl.py", line 772, in recv
return self.read(buflen)
File "/usr/lib/python2.7/ssl.py", line 659, in read
v = self._sslobj.read(len)
socket.error: [Errno 104] Connection reset by peer
下载最多到21%
不知道什么原因,而且出错后,重新执行,又从头开始下载,折腾1天了,还是没安装好开发环境