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 <module>
main(sys.argv[1:])
File "/home/ningzb/esp/esp-idf/tools/idf_tools.py", line 1313, in main
action_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天了,还是没安装好开发环境
ubuntu 下安装开发环境,执行install.sh总是下载不完并失败
Re: ubuntu 下安装开发环境,执行install.sh总是下载不完并失败
Can you try downloading this file from Github releases page manually?
https://github.com/espressif/openocd-es ... 2-20190708
If you can download it by web browser, then put it into ~/.espressif/dist directory, and run install.sh again.
https://github.com/espressif/openocd-es ... 2-20190708
If you can download it by web browser, then put it into ~/.espressif/dist directory, and run install.sh again.
Re: ubuntu 下安装开发环境,执行install.sh总是下载不完并失败
谢谢,那个文件比较难下载,手动下载了好几次才成功,今天按你说的,拷贝下载的文件
work@work-VirtualBox:~$ cp openocd-esp32-linux64-0.10.0-esp32-20190708.tar.gz /home/work/esp/idf_tools/dist/
然后执行install.sh才可以继续安装
终于安装好了,基本上解决了开发环境的问题。
在不同的目录下编译程序,需要执行以下. /home/work/esp/esp_idf/export.sh(注意点后面有个空格),然后就可以用idf.py了
work@work-VirtualBox:~$ cp openocd-esp32-linux64-0.10.0-esp32-20190708.tar.gz /home/work/esp/idf_tools/dist/
然后执行install.sh才可以继续安装
终于安装好了,基本上解决了开发环境的问题。
在不同的目录下编译程序,需要执行以下. /home/work/esp/esp_idf/export.sh(注意点后面有个空格),然后就可以用idf.py了
Re: ubuntu 下安装开发环境,执行install.sh总是下载不完并失败
你好,现在怎么下载不了openocd-esp32-linux64-0.10.0-esp32-20190708.tar.gz呢? 能分享一下这个工具吗?
Re: ubuntu 下安装开发环境,执行install.sh总是下载不完并失败
Hi solor007,
Would you please help download the file using web browser, place it into the specific directory? Thanks.
Alvin
Would you please help download the file using web browser, place it into the specific directory? Thanks.
Alvin
Re: ubuntu 下安装开发环境,执行install.sh总是下载不完并失败
- Attachments
-
- 微信截图_20200309181957.jpg (71.34 KiB) Viewed 10169 times
Who is online
Users browsing this forum: No registered users and 201 guests