espressif / esp-matter

Espressif's SDK for Matter
Apache License 2.0
708 stars 161 forks source link

mfg_tool.py giving error (CON-800) #663

Closed bilalmalik76 closed 12 months ago

bilalmalik76 commented 1 year ago

I am trying to use mfg_tool to generate partition binary but I am getting this error: ModuleNotFoundError: No module named 'esp_secure_cert'

I have also installed requirements.txt image

As you can see here requirements are satisfied: image

shubhamdp commented 1 year ago

@bilalmalik76 I think of two possibilities

I think you are using the older esp-matter SHA or the requirements are not installed in esp-idf's python environment.

First, you may be using older esp-matter revision, and that was fixed in https://github.com/espressif/esp-matter/commit/4ebc133745d4e7f8b297ae7e47c8fe9795cb0756, try the latest esp-matter.

For second, requirements may not be installed in esp-idf's python environment, try below steps for that.

cd path/to/esp-matter/tools/mfg_tool
source path/to/esp-idf/export.sh
python3 -m pip install -r requirements.txt

Install python dependencies section does not mention the sourcing of idf environment and will fix that in the doc.

bilalmalik76 commented 1 year ago

@shubhamdp Thanks for your response. This does not fix it. So I tried to install the latest esp_matter but now getting this error: image

shubhamdp commented 1 year ago

Can you try again by removing the connectedhomeip environment.

rm -rf connectedhomeip/connectedhomeip/.environment
source path/to/esp-idf/export.sh
./install.sh
shubhamdp commented 1 year ago

Also, rather than pasting a screenshot of error, complete logs from the run would help to debug problem faster.

bilalmalik76 commented 1 year ago

@shubhamdp still getting the same error after doing above mentioned steps. Please see the logs: `bilal@Ubuntu22:~/Desktop/esp-matter$ rm -rf connectedhomeip/connectedhomeip/.environment

bilal@Ubuntu22:~/Desktop/esp-matter$ source /

bin/ cdrom/ etc/ lib/ lib64/ lost+found/ mnt/ proc/ run/ snap/ swapfile tmp/ var/

boot/ dev/ home/ lib32/ libx32/ media/ opt/ root/ sbin/ srv/ sys/ usr/

bilal@Ubuntu22:~/Desktop/esp-matter$ source /

bin/ cdrom/ etc/ lib/ lib64/ lost+found/ mnt/ proc/ run/ snap/ swapfile tmp/ var/

boot/ dev/ home/ lib32/ libx32/ media/ opt/ root/ sbin/ srv/ sys/ usr/

bilal@Ubuntu22:~/Desktop/esp-matter$ source ~/

.bash_history .gitconfig .sudo_as_admin_successful .vboxclient-seamless-tty2-service.pid

.bash_logout .gnupg/ Templates/ .vboxclient-vmsvga-session-tty2-control.pid

.bashrc .local/ temp-sensor/ .vboxclient-vmsvga-session-tty2-service.pid

.cache/ Music/ TEST_CD_FFF1_8001.der Videos/

.cipd-cache-dir/ .pam_environment .vboxclient-clipboard-tty2-control.pid .vscode-server/

.config/ Pictures/ .vboxclient-clipboard-tty2-service.pid .wget-hsts

Desktop/ .profile .vboxclient-draganddrop-tty2-control.pid .Xauthority

Documents/ Public/ .vboxclient-draganddrop-tty2-service.pid

Downloads/ snap/ .vboxclient-hostversion-tty2-control.pid

.espressif/ .ssh/ .vboxclient-seamless-tty2-control.pid

bilal@Ubuntu22:~/Desktop/esp-matter$ source ~/

.bash_history .gitconfig .sudo_as_admin_successful .vboxclient-seamless-tty2-service.pid

.bash_logout .gnupg/ Templates/ .vboxclient-vmsvga-session-tty2-control.pid

.bashrc .local/ temp-sensor/ .vboxclient-vmsvga-session-tty2-service.pid

.cache/ Music/ TEST_CD_FFF1_8001.der Videos/

.cipd-cache-dir/ .pam_environment .vboxclient-clipboard-tty2-control.pid .vscode-server/

.config/ Pictures/ .vboxclient-clipboard-tty2-service.pid .wget-hsts

Desktop/ .profile .vboxclient-draganddrop-tty2-control.pid .Xauthority

Documents/ Public/ .vboxclient-draganddrop-tty2-service.pid

Downloads/ snap/ .vboxclient-hostversion-tty2-control.pid

.espressif/ .ssh/ .vboxclient-seamless-tty2-control.pid

bilal@Ubuntu22:~/Desktop/esp-matter$ source ~/

.bash_history .gitconfig .sudo_as_admin_successful .vboxclient-seamless-tty2-service.pid

.bash_logout .gnupg/ Templates/ .vboxclient-vmsvga-session-tty2-control.pid

.bashrc .local/ temp-sensor/ .vboxclient-vmsvga-session-tty2-service.pid

.cache/ Music/ TEST_CD_FFF1_8001.der Videos/

.cipd-cache-dir/ .pam_environment .vboxclient-clipboard-tty2-control.pid .vscode-server/

.config/ Pictures/ .vboxclient-clipboard-tty2-service.pid .wget-hsts

Desktop/ .profile .vboxclient-draganddrop-tty2-control.pid .Xauthority

Documents/ Public/ .vboxclient-draganddrop-tty2-service.pid

Downloads/ snap/ .vboxclient-hostversion-tty2-control.pid

.espressif/ .ssh/ .vboxclient-seamless-tty2-control.pid

bilal@Ubuntu22:~/Desktop/esp-matter$ source ~/Desktop/

001-1-M-Firmware/ esp-idf/ esp-matter/

bilal@Ubuntu22:~/Desktop/esp-matter$ source ~/Desktop/

001-1-M-Firmware/ esp-idf/ esp-matter/

bilal@Ubuntu22:~/Desktop/esp-matter$ source ~/Desktop/

001-1-M-Firmware/ esp-idf/ esp-matter/

bilal@Ubuntu22:~/Desktop/esp-matter$ source ~/Desktop/

001-1-M-Firmware/ esp-idf/ esp-matter/

bilal@Ubuntu22:~/Desktop/esp-matter$ source ~/Desktop/esp-

esp-idf/ esp-matter/

bilal@Ubuntu22:~/Desktop/esp-matter$ source ~/Desktop/esp-

esp-idf/ esp-matter/

bilal@Ubuntu22:~/Desktop/esp-matter$ source ~/Desktop/esp-

esp-idf/ esp-matter/

bilal@Ubuntu22:~/Desktop/esp-matter$ source ~/Desktop/esp-idf/

add_path.sh .editorconfig .flake8 .gitmodules LICENSE README.md SUPPORT_POLICY.md

CMakeLists.txt examples/ .git/ install.bat .mypy.ini .readthedocs.yml tools/

components/ export.bat .github/ install.fish .pre-commit-config.yaml sdkconfig.rename

conftest.py export.fish .gitignore install.ps1 .pylintrc SECURITY.md

CONTRIBUTING.md export.ps1 .gitlab/ install.sh pytest.ini sonar-project.properties

docs/ export.sh .gitlab-ci.yml Kconfig README_CN.md SUPPORT_POLICY_CN.md

bilal@Ubuntu22:~/Desktop/esp-matter$ source ~/Desktop/esp-idf/

add_path.sh .editorconfig .flake8 .gitmodules LICENSE README.md SUPPORT_POLICY.md

CMakeLists.txt examples/ .git/ install.bat .mypy.ini .readthedocs.yml tools/

components/ export.bat .github/ install.fish .pre-commit-config.yaml sdkconfig.rename

conftest.py export.fish .gitignore install.ps1 .pylintrc SECURITY.md

CONTRIBUTING.md export.ps1 .gitlab/ install.sh pytest.ini sonar-project.properties

docs/ export.sh .gitlab-ci.yml Kconfig README_CN.md SUPPORT_POLICY_CN.md

bilal@Ubuntu22:~/Desktop/esp-matter$ source ~/Desktop/esp-idf/ex

examples/ export.bat export.fish export.ps1 export.sh

bilal@Ubuntu22:~/Desktop/esp-matter$ source ~/Desktop/esp-idf/ex

examples/ export.bat export.fish export.ps1 export.sh

bilal@Ubuntu22:~/Desktop/esp-matter$ source ~/Desktop/esp-idf/export.sh

Setting IDF_PATH to '/home/bilal/Desktop/esp-idf'

Detecting the Python interpreter

Checking "python3" ...

Python 3.10.12

"python3" has been detected

Checking Python compatibility

Checking other ESP-IDF version.

Adding ESP-IDF tools to PATH...

Checking if Python packages are up to date...

Constraint file: /home/bilal/.espressif/espidf.constraints.v5.1.txt

Requirement files:

Python being checked: /home/bilal/.espressif/python_env/idf5.1_py3.10_env/bin/python

/home/bilal/Desktop/esp-idf/tools/check_python_dependencies.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html

import pkg_resources

Python requirements are satisfied.

Added the following directories to PATH:

/home/bilal/Desktop/esp-idf/components/espcoredump

/home/bilal/Desktop/esp-idf/components/partition_table

/home/bilal/Desktop/esp-idf/components/app_update

/home/bilal/.espressif/tools/xtensa-esp-elf-gdb/12.1_20221002/xtensa-esp-elf-gdb/bin

/home/bilal/.espressif/tools/riscv32-esp-elf-gdb/12.1_20221002/riscv32-esp-elf-gdb/bin

/home/bilal/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin

/home/bilal/.espressif/tools/xtensa-esp32s2-elf/esp-12.2.0_20230208/xtensa-esp32s2-elf/bin

/home/bilal/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin

/home/bilal/.espressif/tools/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf/bin

/home/bilal/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin

/home/bilal/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230419/openocd-esp32/bin

/home/bilal/.espressif/python_env/idf5.1_py3.10_env/bin

/home/bilal/Desktop/esp-idf/tools

Done! You can now compile ESP-IDF projects.

Go to the project directory and run:

idf.py build

bilal@Ubuntu22:~/Desktop/esp-matter$ ./install.sh

Running Matter Setup

Synchronizing submodule url for 'connectedhomeip/connectedhomeip'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/examples/common/QRCode/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/examples/common/m5stack-tft/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/boringssl/repo/src'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/editline/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/freertos/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/jsoncpp/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/mbedtls/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/nanopb/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/nlassert/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/nlfaultinjection/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/nlio/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/nlunit-test/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/openthread/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/pigweed/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/pybind11/repo'

WELCOME TO...

     █

     █

 ▄   █   ▄                                █     █

 ▀▀█████▀▀      ▄▀▀▀▄ ▄▀▀▀▄    ▄▀▀▀▀▄█  ▀▀█▀▀▀▀▀█▀▀   ▄▀▀▀▀▄    ▄▀▀

▀█▄ ▄█▀ █ █ █ █ █ █ █ █▄▄▄▄▄▄█ █

 ▀█▄   ▄█▀     █     █     █  █      █    █     █    █         █   

▄██▀▀█ █▀▀██▄ █ █ █ ▀▄▄▄▄▀█ ▀▄▄ ▀▄▄ ▀▄▄▄▄▀ █

▀▀ █ █ ▀▀

BOOTSTRAP! Bootstrap may take a few minutes; please be patient.

Downloading and installing packages into local source directory:

Setting up CIPD package manager...[-]

[|]

[/]

done (19m52.2s)

Setting up Python environment.....[/]Ignoring pyobjc-core: markers 'sys_platform == "darwin"' don't match your environment

Ignoring pyobjc-framework-cocoa: markers 'sys_platform == "darwin"' don't match your environment

Ignoring pyobjc-framework-corebluetooth: markers 'sys_platform == "darwin"' don't match your environment

Collecting pip-tools (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 1))

Downloading pip_tools-6.12.3-py3-none-any.whl (52 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.7/52.7 kB 662.9 kB/s eta 0:00:00

Collecting virtualenv (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 2))

Downloading virtualenv-20.20.0-py3-none-any.whl (8.7 MB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.7/8.7 MB 330.9 kB/s eta 0:00:00

Collecting click>=7.0 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 1))

Downloading click-8.1.3-py3-none-any.whl (96 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 428.1 kB/s eta 0:00:00

Collecting future>=0.15.2 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 2))

Downloading future-0.18.3.tar.gz (840 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 840.9/840.9 kB 517.2 kB/s eta 0:00:00

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting pyparsing<2.4.0,>=2.0.3 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 3))

Downloading pyparsing-2.3.1-py2.py3-none-any.whl (61 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.8/61.8 kB 988.6 kB/s eta 0:00:00

Collecting idf-component-manager (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 4))

Downloading idf_component_manager-1.2.2-py3-none-any.whl (116 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 116.7/116.7 kB 481.0 kB/s eta 0:00:00

Collecting pygdbmi<=0.9.0.2 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 5))

Downloading pygdbmi-0.9.0.2-py3-none-any.whl (16 kB)

Collecting reedsolo<=1.5.4,>=1.5.3 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 6))

Downloading reedsolo-1.5.4.tar.gz (271 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 271.3/271.3 kB 472.8 kB/s eta 0:00:00

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting bitstring>=3.1.6 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 7))

Downloading bitstring-4.0.1-py3-none-any.whl (45 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.6/45.6 kB 225.8 kB/s eta 0:00:00

Collecting ecdsa>=0.16.0 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 8))

Downloading ecdsa-0.18.0-py2.py3-none-any.whl (142 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.9/142.9 kB 978.8 kB/s eta 0:00:00

Collecting kconfiglib==13.7.1 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 9))

Downloading kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 145.7/145.7 kB 639.4 kB/s eta 0:00:00

Collecting construct==2.10.54 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 10))

Downloading construct-2.10.54.tar.gz (55 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.3/55.3 kB 593.7 kB/s eta 0:00:00

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting python-socketio<5 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 11))

Downloading python_socketio-4.6.1-py2.py3-none-any.whl (51 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.9/51.9 kB 652.9 kB/s eta 0:00:00

Collecting gdbgui==0.13.2.0 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 12))

Downloading gdbgui-0.13.2.0-py3-none-any.whl (878 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 878.4/878.4 kB 453.1 kB/s eta 0:00:00

Collecting mbed-tools>=7.55.1.dev1 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 1))

Downloading mbed_tools-7.59.0-py3-none-any.whl (127 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 127.3/127.3 kB 232.2 kB/s eta 0:00:00

Collecting pytest==6.2.5 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 2))

Downloading pytest-6.2.5-py3-none-any.whl (280 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━            204.8/280.7 kB 14.7 kB/s eta 0:00:06

ERROR: Exception:

Traceback (most recent call last):

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher

yield

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 561, in read

data = self._fp_read(amt) if not fp_closed else b""

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 527, in _fp_read

return self._fp.read(amt) if amt is not None else self._fp.read()

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 90, in read

data = self.__fp.read(amt)

File "/usr/lib/python3.10/http/client.py", line 466, in read

s = self.fp.read(amt)

File "/usr/lib/python3.10/socket.py", line 705, in readinto

return self._sock.recv_into(b)

File "/usr/lib/python3.10/ssl.py", line 1274, in recv_into

return self.read(nbytes, buffer)

File "/usr/lib/python3.10/ssl.py", line 1130, in read

return self._sslobj.read(len, buffer)

TimeoutError: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper

status = run_func(*args)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 248, in wrapper

return func(self, options, args)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 377, in run

requirement_set = resolver.resolve(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve

result = self._result = resolver.resolve(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve

state = resolution.resolve(requirements, max_rounds=max_rounds)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve

self._add_to_criteria(self.state.criteria, r, parent=None)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria

if not criterion.candidates:

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/structs.py", line 156, in bool

return bool(self._sequence)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in bool

return any(self)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in

return (c for c in iterator if id(c) not in self._incompatible_ids)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built

candidate = func()

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link

self._link_candidate_cache[link] = LinkCandidate(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in init

super().__init__(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in init

self.dist = self._prepare()

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare

dist = self._prepare_distribution()

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution

return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 538, in prepare_linked_requirement

return self._prepare_linked_requirement(req, parallel_builds)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 609, in _prepare_linked_requirement

local_file = unpack_url(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 166, in unpack_url

file = get_http_url(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 107, in get_http_url

from_path, content_type = download(link, temp_dir.path)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/network/download.py", line 147, in call

for chunk in chunks:

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/cli/progress_bars.py", line 53, in _rich_progress_bar

for chunk in iterable:

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/network/utils.py", line 63, in response_chunks

for chunk in response.raw.stream(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 622, in stream

data = self.read(amt=amt, decode_content=decode_content)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 560, in read

with self._error_catcher():

File "/usr/lib/python3.10/contextlib.py", line 153, in exit

self.gen.throw(typ, value, traceback)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 443, in _error_catcher

raise ReadTimeoutError(self._pool, None, "Read timed out.")

pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

['/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/bin/python', '-m', 'pip', 'install', '--log', '/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/pip-requirements.log', '--requirement=/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt', '--constraint=/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/constraints.txt'] {'stdout': <_io.TextIOWrapper name=3 mode='w+' encoding='UTF-8'>, 'stderr': -2}

None

Traceback (most recent call last):

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 877, in

sys.exit(main())

File "/home/bilal/Desktop/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/bilal/Desktop/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/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 682, in virtualenv

if not virtualenv_setup.install(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 296, in install

pip_install(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 262, in pip_install

return _check_call(cmd)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 88, in _check_call

subprocess.check_call(args, **kwargs)

File "/usr/lib/python3.10/subprocess.py", line 369, in check_call

raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command '['/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/bin/python', '-m', 'pip', 'install', '--log', '/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/pip-requirements.log', '--requirement=/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt', '--constraint=/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/constraints.txt']' returned non-zero exit status 2.

bilal@Ubuntu22:~/Desktop/esp-matter$

bilal@Ubuntu22:~/Desktop/esp-matter$

bilal@Ubuntu22:~/Desktop/esp-matter$

bilal@Ubuntu22:~/Desktop/esp-matter$

bilal@Ubuntu22:~/Desktop/esp-matter$

bilal@Ubuntu22:~/Desktop/esp-matter$ ./install.sh

Running Matter Setup

Synchronizing submodule url for 'connectedhomeip/connectedhomeip'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/examples/common/QRCode/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/examples/common/m5stack-tft/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/boringssl/repo/src'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/editline/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/freertos/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/jsoncpp/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/mbedtls/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/nanopb/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/nlassert/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/nlfaultinjection/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/nlio/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/nlunit-test/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/openthread/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/pigweed/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/pybind11/repo'

WELCOME TO...

     █

     █

 ▄   █   ▄                                █     █

 ▀▀█████▀▀      ▄▀▀▀▄ ▄▀▀▀▄    ▄▀▀▀▀▄█  ▀▀█▀▀▀▀▀█▀▀   ▄▀▀▀▀▄    ▄▀▀

▀█▄ ▄█▀ █ █ █ █ █ █ █ █▄▄▄▄▄▄█ █

 ▀█▄   ▄█▀     █     █     █  █      █    █     █    █         █   

▄██▀▀█ █▀▀██▄ █ █ █ ▀▄▄▄▄▀█ ▀▄▄ ▀▄▄ ▀▄▄▄▄▀ █

▀▀ █ █ ▀▀

BOOTSTRAP! Bootstrap may take a few minutes; please be patient.

Downloading and installing packages into local source directory:

Setting up CIPD package manager...done (6.9s)

Setting up Python environment.....[/]Ignoring pyobjc-core: markers 'sys_platform == "darwin"' don't match your environment

Ignoring pyobjc-framework-cocoa: markers 'sys_platform == "darwin"' don't match your environment

Ignoring pyobjc-framework-corebluetooth: markers 'sys_platform == "darwin"' don't match your environment

Collecting pip-tools (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 1))

Using cached pip_tools-6.12.3-py3-none-any.whl (52 kB)

Collecting virtualenv (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 2))

Using cached virtualenv-20.20.0-py3-none-any.whl (8.7 MB)

Collecting click>=7.0 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 1))

Using cached click-8.1.3-py3-none-any.whl (96 kB)

Collecting future>=0.15.2 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 2))

Using cached future-0.18.3.tar.gz (840 kB)

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting pyparsing<2.4.0,>=2.0.3 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 3))

Using cached pyparsing-2.3.1-py2.py3-none-any.whl (61 kB)

Collecting idf-component-manager (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 4))

Using cached idf_component_manager-1.2.2-py3-none-any.whl (116 kB)

Collecting pygdbmi<=0.9.0.2 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 5))

Using cached pygdbmi-0.9.0.2-py3-none-any.whl (16 kB)

Collecting reedsolo<=1.5.4,>=1.5.3 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 6))

Using cached reedsolo-1.5.4.tar.gz (271 kB)

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting bitstring>=3.1.6 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 7))

Using cached bitstring-4.0.1-py3-none-any.whl (45 kB)

Collecting ecdsa>=0.16.0 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 8))

Using cached ecdsa-0.18.0-py2.py3-none-any.whl (142 kB)

Collecting kconfiglib==13.7.1 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 9))

Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)

Collecting construct==2.10.54 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 10))

Using cached construct-2.10.54.tar.gz (55 kB)

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting python-socketio<5 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 11))

Using cached python_socketio-4.6.1-py2.py3-none-any.whl (51 kB)

Collecting gdbgui==0.13.2.0 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 12))

Using cached gdbgui-0.13.2.0-py3-none-any.whl (878 kB)

Collecting mbed-tools>=7.55.1.dev1 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 1))

Using cached mbed_tools-7.59.0-py3-none-any.whl (127 kB)

Collecting pytest==6.2.5 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 2))

Downloading pytest-6.2.5-py3-none-any.whl (280 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 280.7/280.7 kB 548.9 kB/s eta 0:00:00

Collecting mbed-ls==1.8.11 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 3))

Downloading mbed_ls-1.8.11-py2.py3-none-any.whl (37 kB)

Collecting pdoc3 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 4))

Downloading pdoc3-0.10.0-py3-none-any.whl (135 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 135.7/135.7 kB 885.5 kB/s eta 0:00:00

Collecting gitpython (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 5))

Downloading GitPython-3.1.31-py3-none-any.whl (184 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 184.3/184.3 kB 1.2 MB/s eta 0:00:00

Collecting python-dotenv (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 6))

Downloading python_dotenv-1.0.0-py3-none-any.whl (19 kB)

Collecting pyudev (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 7))

Downloading pyudev-0.24.0-py3-none-any.whl (61 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.8/61.8 kB 2.0 MB/s eta 0:00:00

Collecting typing-extensions (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 8))

Downloading typing_extensions-4.5.0-py3-none-any.whl (27 kB)

Collecting bflb-iot-tool>=1.8.0 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.bouffalolab.txt (line 1))

Downloading bflb-iot-tool-1.8.3.tar.gz (35.7 MB)

 ━                                        1.2/35.7 MB 26.2 kB/s eta 0:21:52

ERROR: Exception:

Traceback (most recent call last):

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher

yield

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 561, in read

data = self._fp_read(amt) if not fp_closed else b""

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 527, in _fp_read

return self._fp.read(amt) if amt is not None else self._fp.read()

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 90, in read

data = self.__fp.read(amt)

File "/usr/lib/python3.10/http/client.py", line 466, in read

s = self.fp.read(amt)

File "/usr/lib/python3.10/socket.py", line 705, in readinto

return self._sock.recv_into(b)

File "/usr/lib/python3.10/ssl.py", line 1274, in recv_into

return self.read(nbytes, buffer)

File "/usr/lib/python3.10/ssl.py", line 1130, in read

return self._sslobj.read(len, buffer)

TimeoutError: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper

status = run_func(*args)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 248, in wrapper

return func(self, options, args)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 377, in run

requirement_set = resolver.resolve(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve

result = self._result = resolver.resolve(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve

state = resolution.resolve(requirements, max_rounds=max_rounds)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve

self._add_to_criteria(self.state.criteria, r, parent=None)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria

if not criterion.candidates:

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/structs.py", line 156, in bool

return bool(self._sequence)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in bool

return any(self)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in

return (c for c in iterator if id(c) not in self._incompatible_ids)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built

candidate = func()

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link

self._link_candidate_cache[link] = LinkCandidate(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in init

super().__init__(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in init

self.dist = self._prepare()

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare

dist = self._prepare_distribution()

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution

return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 538, in prepare_linked_requirement

return self._prepare_linked_requirement(req, parallel_builds)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 609, in _prepare_linked_requirement

local_file = unpack_url(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 166, in unpack_url

file = get_http_url(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 107, in get_http_url

from_path, content_type = download(link, temp_dir.path)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/network/download.py", line 147, in call

for chunk in chunks:

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/cli/progress_bars.py", line 53, in _rich_progress_bar

for chunk in iterable:

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_internal/network/utils.py", line 63, in response_chunks

for chunk in response.raw.stream(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 622, in stream

data = self.read(amt=amt, decode_content=decode_content)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 560, in read

with self._error_catcher():

File "/usr/lib/python3.10/contextlib.py", line 153, in exit

self.gen.throw(typ, value, traceback)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 443, in _error_catcher

raise ReadTimeoutError(self._pool, None, "Read timed out.")

pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

['/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/bin/python', '-m', 'pip', 'install', '--log', '/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/pip-requirements.log', '--requirement=/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt', '--constraint=/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/constraints.txt'] {'stdout': <_io.TextIOWrapper name=3 mode='w+' encoding='UTF-8'>, 'stderr': -2}

None

Traceback (most recent call last):

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 877, in

sys.exit(main())

File "/home/bilal/Desktop/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/bilal/Desktop/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/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 682, in virtualenv

if not virtualenv_setup.install(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 296, in install

pip_install(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 262, in pip_install

return _check_call(cmd)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 88, in _check_call

subprocess.check_call(args, **kwargs)

File "/usr/lib/python3.10/subprocess.py", line 369, in check_call

raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command '['/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/bin/python', '-m', 'pip', 'install', '--log', '/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/pip-requirements.log', '--requirement=/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt', '--constraint=/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/constraints.txt']' returned non-zero exit status 2.

bilal@Ubuntu22:~/Desktop/esp-matter$ ./install.sh

Running Matter Setup

Synchronizing submodule url for 'connectedhomeip/connectedhomeip'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/examples/common/QRCode/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/examples/common/m5stack-tft/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/boringssl/repo/src'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/editline/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/freertos/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/jsoncpp/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/mbedtls/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/nanopb/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/nlassert/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/nlfaultinjection/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/nlio/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/nlunit-test/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/openthread/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/pigweed/repo'

Synchronizing submodule url for 'connectedhomeip/connectedhomeip/third_party/pybind11/repo'

WELCOME TO...

     █

     █

 ▄   █   ▄                                █     █

 ▀▀█████▀▀      ▄▀▀▀▄ ▄▀▀▀▄    ▄▀▀▀▀▄█  ▀▀█▀▀▀▀▀█▀▀   ▄▀▀▀▀▄    ▄▀▀

▀█▄ ▄█▀ █ █ █ █ █ █ █ █▄▄▄▄▄▄█ █

 ▀█▄   ▄█▀     █     █     █  █      █    █     █    █         █   

▄██▀▀█ █▀▀██▄ █ █ █ ▀▄▄▄▄▀█ ▀▄▄ ▀▄▄ ▀▄▄▄▄▀ █

▀▀ █ █ ▀▀

BOOTSTRAP! Bootstrap may take a few minutes; please be patient.

Downloading and installing packages into local source directory:

Setting up CIPD package manager...done (6.0s)

Setting up Python environment.....[]Ignoring pyobjc-core: markers 'sys_platform == "darwin"' don't match your environment

Ignoring pyobjc-framework-cocoa: markers 'sys_platform == "darwin"' don't match your environment

Ignoring pyobjc-framework-corebluetooth: markers 'sys_platform == "darwin"' don't match your environment

Collecting pip-tools (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 1))

Using cached pip_tools-6.12.3-py3-none-any.whl (52 kB)

Collecting virtualenv (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 2))

Using cached virtualenv-20.20.0-py3-none-any.whl (8.7 MB)

Collecting click>=7.0 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 1))

Using cached click-8.1.3-py3-none-any.whl (96 kB)

Collecting future>=0.15.2 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 2))

Using cached future-0.18.3.tar.gz (840 kB)

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting pyparsing<2.4.0,>=2.0.3 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 3))

Using cached pyparsing-2.3.1-py2.py3-none-any.whl (61 kB)

Collecting idf-component-manager (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 4))

Using cached idf_component_manager-1.2.2-py3-none-any.whl (116 kB)

Collecting pygdbmi<=0.9.0.2 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 5))

Using cached pygdbmi-0.9.0.2-py3-none-any.whl (16 kB)

Collecting reedsolo<=1.5.4,>=1.5.3 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 6))

Using cached reedsolo-1.5.4.tar.gz (271 kB)

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting bitstring>=3.1.6 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 7))

Using cached bitstring-4.0.1-py3-none-any.whl (45 kB)

Collecting ecdsa>=0.16.0 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 8))

Using cached ecdsa-0.18.0-py2.py3-none-any.whl (142 kB)

Collecting kconfiglib==13.7.1 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 9))

Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)

Collecting construct==2.10.54 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 10))

Using cached construct-2.10.54.tar.gz (55 kB)

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting python-socketio<5 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 11))

Using cached python_socketio-4.6.1-py2.py3-none-any.whl (51 kB)

Collecting gdbgui==0.13.2.0 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 12))

Using cached gdbgui-0.13.2.0-py3-none-any.whl (878 kB)

Collecting mbed-tools>=7.55.1.dev1 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 1))

Using cached mbed_tools-7.59.0-py3-none-any.whl (127 kB)

Collecting pytest==6.2.5 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 2))

Using cached pytest-6.2.5-py3-none-any.whl (280 kB)

Collecting mbed-ls==1.8.11 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 3))

Using cached mbed_ls-1.8.11-py2.py3-none-any.whl (37 kB)

Collecting pdoc3 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 4))

Using cached pdoc3-0.10.0-py3-none-any.whl (135 kB)

Collecting gitpython (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 5))

Using cached GitPython-3.1.31-py3-none-any.whl (184 kB)

Collecting python-dotenv (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 6))

Using cached python_dotenv-1.0.0-py3-none-any.whl (19 kB)

Collecting pyudev (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 7))

Using cached pyudev-0.24.0-py3-none-any.whl (61 kB)

Collecting typing-extensions (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.mbed.txt (line 8))

Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)

Collecting bflb-iot-tool>=1.8.0 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.bouffalolab.txt (line 1))

Downloading bflb-iot-tool-1.8.3.tar.gz (35.7 MB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 35.7/35.7 MB 156.5 kB/s eta 0:00:00

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting pytest-json-report>=1.5.0 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.openiotsdk.txt (line 1))

Downloading pytest_json_report-1.5.0-py3-none-any.whl (13 kB)

Collecting imgtool>=1.6.0 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.openiotsdk.txt (line 2))

Downloading imgtool-1.9.0-py3-none-any.whl (27 kB)

Collecting leb128 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.infineon.txt (line 1))

Downloading leb128-1.0.5.tar.gz (3.3 kB)

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting pypng==0.0.21 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.telink.txt (line 2))

Downloading pypng-0.0.21-py3-none-any.whl (48 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.1/48.1 kB 2.1 MB/s eta 0:00:00

Collecting PyQRCode==1.2.1 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.telink.txt (line 3))

Downloading PyQRCode-1.2.1.zip (41 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.9/41.9 kB 609.5 kB/s eta 0:00:00

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting requests>=2.24.0 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 27))

Downloading requests-2.28.2-py3-none-any.whl (62 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 1.9 MB/s eta 0:00:00

Requirement already satisfied: wheel in ./connectedhomeip/connectedhomeip/.environment/pigweed-venv/lib/python3.10/site-packages (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 30)) (0.38.4)

Collecting pgi (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 31))

Downloading pgi-0.0.11.2.tar.gz (239 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 239.4/239.4 kB 1.4 MB/s eta 0:00:00

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting portpicker (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 37))

Downloading portpicker-1.5.2-py3-none-any.whl (14 kB)

Collecting mobly (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 38))

Downloading mobly-1.12.1.tar.gz (194 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 194.6/194.6 kB 1.9 MB/s eta 0:00:00

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting west>=0.12.0 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 41))

Downloading west-1.0.0-py3-none-any.whl (87 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.2/87.2 kB 4.0 MB/s eta 0:00:00

Collecting intelhex (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 42))

Downloading intelhex-2.3.0-py2.py3-none-any.whl (50 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.9/50.9 kB 575.3 kB/s eta 0:00:00

Collecting cbor (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 43))

Downloading cbor-1.0.0.tar.gz (20 kB)

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting cbor2 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 44))

Downloading cbor2-5.4.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (224 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 224.6/224.6 kB 2.3 MB/s eta 0:00:00

Collecting jsonschema (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 45))

Downloading jsonschema-4.17.3-py3-none-any.whl (90 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.4/90.4 kB 2.0 MB/s eta 0:00:00

Collecting lockfile (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 48))

Downloading lockfile-0.12.2-py2.py3-none-any.whl (13 kB)

Collecting psutil>=5.7.3 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 49))

Downloading psutil-5.9.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (280 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 280.2/280.2 kB 2.3 MB/s eta 0:00:00

Collecting ipython (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 52))

Downloading ipython-8.11.0-py3-none-any.whl (793 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 793.3/793.3 kB 152.1 kB/s eta 0:00:00

Collecting appnope (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 53))

Downloading appnope-0.1.3-py2.py3-none-any.whl (4.4 kB)

Collecting appdirs (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 54))

Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)

Collecting coloredlogs (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 55))

Downloading coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.0/46.0 kB 575.7 kB/s eta 0:00:00

Collecting watchdog (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 56))

Downloading watchdog-2.3.1-py3-none-manylinux2014_x86_64.whl (80 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.6/80.6 kB 699.1 kB/s eta 0:00:00

Collecting build==0.8.0 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 57))

Downloading build-0.8.0-py3-none-any.whl (17 kB)

Collecting mypy==0.971 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 58))

Downloading mypy-0.971-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (17.6 MB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.6/17.6 MB 255.1 kB/s eta 0:00:00

Collecting mypy-protobuf==3.2.0 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 59))

Downloading mypy_protobuf-3.2.0-py3-none-any.whl (15 kB)

Collecting protobuf==3.20.1 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 60))

Downloading protobuf-3.20.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 644.4 kB/s eta 0:00:00

Collecting types-protobuf==3.19.22 (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 61))

Downloading types_protobuf-3.19.22-py3-none-any.whl (52 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.2/52.2 kB 923.6 kB/s eta 0:00:00

Collecting anytree (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 64))

Downloading anytree-2.8.0-py2.py3-none-any.whl (41 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.7/41.7 kB 4.1 MB/s eta 0:00:00

Collecting cxxfilt (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 65))

Downloading cxxfilt-0.3.0-py2.py3-none-any.whl (4.6 kB)

Collecting ghapi (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 66))

Downloading ghapi-1.0.3-py3-none-any.whl (58 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.1/58.1 kB 576.8 kB/s eta 0:00:00

Collecting pandas (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 67))

Downloading pandas-1.5.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.1 MB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.1/12.1 MB 328.9 kB/s eta 0:00:00

Collecting tabulate (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 68))

Downloading tabulate-0.9.0-py3-none-any.whl (35 kB)

Collecting lark (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 74))

Downloading lark-1.1.5-py3-none-any.whl (107 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 108.0/108.0 kB 738.4 kB/s eta 0:00:00

Collecting stringcase (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 76))

Downloading stringcase-1.2.0.tar.gz (3.0 kB)

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting cryptography (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 78))

Downloading cryptography-39.0.2-cp36-abi3-manylinux_2_28_x86_64.whl (4.2 MB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 475.2 kB/s eta 0:00:00

Collecting colorama (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 81))

Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)

Collecting tornado (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 84))

Downloading tornado-6.2-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (423 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 424.0/424.0 kB 850.7 kB/s eta 0:00:00

Collecting diskcache (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 87))

Downloading diskcache-5.4.0-py3-none-any.whl (44 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.0/45.0 kB 1.6 MB/s eta 0:00:00

Collecting websockets (from -r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt (line 88))

Downloading websockets-10.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (106 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.8/106.8 kB 1.1 MB/s eta 0:00:00

Collecting Flask<1.0,>=0.12.2 (from gdbgui==0.13.2.0->-r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 12))

Downloading Flask-0.12.5-py2.py3-none-any.whl (81 kB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.7/81.7 kB 471.4 kB/s eta 0:00:00

Collecting Flask-Compress<2.0,>=1.4.0 (from gdbgui==0.13.2.0->-r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 12))

Downloading Flask_Compress-1.13-py3-none-any.whl (7.9 kB)

Collecting Flask-SocketIO<3.0,>=2.9 (from gdbgui==0.13.2.0->-r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 12))

Downloading Flask_SocketIO-2.9.6-py2.py3-none-any.whl (16 kB)

Collecting gevent<2.0,>=1.2.2 (from gdbgui==0.13.2.0->-r /home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.esp32.txt (line 12))

Downloading gevent-1.5.0.tar.gz (5.3 MB)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 662.1 kB/s eta 0:00:00

Installing build dependencies: started

Installing build dependencies: finished with status 'done'

Getting requirements to build wheel: started

error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.

│ exit code: 1

╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Getting requirements to build wheel: finished with status 'error'

error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.

│ exit code: 1

╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

['/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/bin/python', '-m', 'pip', 'install', '--log', '/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/pip-requirements.log', '--requirement=/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt', '--constraint=/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/constraints.txt'] {'stdout': <_io.TextIOWrapper name=3 mode='w+' encoding='UTF-8'>, 'stderr': -2}

[|]

None

Traceback (most recent call last):

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 877, in

sys.exit(main())

File "/home/bilal/Desktop/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/bilal/Desktop/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/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 682, in virtualenv

if not virtualenv_setup.install(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 296, in install

pip_install(

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 262, in pip_install

return _check_call(cmd)

File "/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 88, in _check_call

subprocess.check_call(args, **kwargs)

File "/usr/lib/python3.10/subprocess.py", line 369, in check_call

raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command '['/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/bin/python', '-m', 'pip', 'install', '--log', '/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/.environment/pigweed-venv/pip-requirements.log', '--requirement=/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/requirements.txt', '--constraint=/home/bilal/Desktop/esp-matter/connectedhomeip/connectedhomeip/scripts/setup/constraints.txt']' returned non-zero exit status 1.

bilal@Ubuntu22:~/Desktop/esp-matter$

`

shripad621git commented 1 year ago

@bilalmalik76, please provide the error logs of the mfg_tool in a file.

dhrishi commented 1 year ago

@bilalmalik76 Please close this issue if resolved

dhrishi commented 12 months ago

Closing this now