esp-matter 在安裝時 一直卡在Setting up CIPD package manager.
Posted: Tue Jun 20, 2023 8:38 am
在按照文檔上操作
git clone --depth 1 https://github.com/espressif/esp-matter.git
cd esp-matter
git submodule update --init --depth 1
./connectedhomeip/connectedhomeip/scripts/checkout_submodules.py --platform esp32 --shallow
./install.sh
当执行install.sh,一直卡主,有更换过网络,以及使用过VPN,
手动中断执行后,有提示跟python相关的,
Setting up CIPD package manager...[/Traceback (most recent call last):
File "/home/rck/ESP/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 877, in <module>
sys.exit(main())
File "/home/rck/ESP/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 869, in main
return EnvSetup(**vars(parse())).setup()
File "/home/rck/ESP/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 522, in setup
result = step(spin)
File "/home/rck/ESP/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 635, in cipd
if not cipd_update.update(
File "/home/rck/ESP/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/update.py", line 354, in update
if not check_auth(cipd, package_files, cipd_service_account, spin):
File "/home/rck/ESP/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/update.py", line 94, in check_auth
inaccessible_paths = _check_all_paths()
File "/home/rck/ESP/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/update.py", line 74, in _check_all_paths
output = subprocess.check_output(
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 495, in run
stdout, stderr = process.communicate(input, timeout=timeout)
File "/usr/lib/python3.8/subprocess.py", line 1015, in communicate
stdout = self.stdout.read()
KeyboardInterrupt
git clone --depth 1 https://github.com/espressif/esp-matter.git
cd esp-matter
git submodule update --init --depth 1
./connectedhomeip/connectedhomeip/scripts/checkout_submodules.py --platform esp32 --shallow
./install.sh
当执行install.sh,一直卡主,有更换过网络,以及使用过VPN,
手动中断执行后,有提示跟python相关的,
Setting up CIPD package manager...[/Traceback (most recent call last):
File "/home/rck/ESP/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 877, in <module>
sys.exit(main())
File "/home/rck/ESP/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 869, in main
return EnvSetup(**vars(parse())).setup()
File "/home/rck/ESP/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 522, in setup
result = step(spin)
File "/home/rck/ESP/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 635, in cipd
if not cipd_update.update(
File "/home/rck/ESP/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/update.py", line 354, in update
if not check_auth(cipd, package_files, cipd_service_account, spin):
File "/home/rck/ESP/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/update.py", line 94, in check_auth
inaccessible_paths = _check_all_paths()
File "/home/rck/ESP/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/update.py", line 74, in _check_all_paths
output = subprocess.check_output(
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 495, in run
stdout, stderr = process.communicate(input, timeout=timeout)
File "/usr/lib/python3.8/subprocess.py", line 1015, in communicate
stdout = self.stdout.read()
KeyboardInterrupt