请教大家,在工程目录下利用ENV工具下载软件包,但是总是失败。
请问这是什么原因?如何解决呢?
Cloning into 'C:\Users\zhaocy\Desktop\rt-thread-gitee_master (2)\rt-thread-gitee_master\bsp\stm32\stm32f103-atk-nano\packages\lsm303agr-latest'...
fatal: unable to access 'https://gitee.com/RT-Thread-Mirror/lsm303agr.git/': error setting certificate verify locations:
CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
CApath: none
Failed to download software package with git. Please check the network connection.
({'path': '/packages/peripherals/sensors/lsm303agr', 'ver': 'latest', 'name': 'LSM303AGR'}, 'download failed.')
Package download failed list:
{'path': '/packages/peripherals/sensors/lsm303agr', 'ver': 'latest', 'name': 'LSM303AGR'}
You need to reuse the <pkgs -update> command to download again.
Operation failed.
==============================>The packages have been updated completely.
电脑上确实有VPN,不过关于这个也进行了测试,包括关闭代理,仅使用PAC,和全局代理。都会报错。不能把软件包下载下来。
问题已解决,重新安装了一遍git就一切正常了。😓😓😓