project-chip / certification-tool

A test harness and tooling designed to simplify development, testing, and certification for devices, guided by the Connectivity Standards Alliance.
https://csa-iot.org/
Apache License 2.0
26 stars 13 forks source link

[Bug] Error during "auto-install.sh". "Cannot install sniffio, idna and exceptiongroup" #279

Closed OlivierGre closed 3 weeks ago

OlivierGre commented 3 weeks ago

Describe the bug

I'm installing Test Harness environment for the first time.

I'm following the Test Harness user manual. I'm using a Raspberry Pi4 and I have installed a Ubuntu Server 22.04 LTS (64 bits) and followed the instructions. I have cloned this version: git clone -b v2.10+spring2024 https://github.com/project-chip/certification-tool.git

The "auto-install.sh" script is failing with errors: "cannot install sniffio", "cannot install idna", "cannot install exceptiongroup"...

I have installed the missing modules with:

pip3 install sniffio
pip3 install idna
pip3 install exceptiongroup

but I'm still getting the same errors :(

Would you have some advices?

Steps to reproduce the behavior

git clone -b v2.10+spring2024 https://github.com/project-chip/certification-tool.git

Goto to TH folder: cd certification-tool

Initialize the submodules: git submodule update --init --recursive

Install/configure the TH dependencies: ./scripts/pi-setup/auto-install.sh

Expected behavior

No response

Log files

No response

PICS file

No response

Screenshots

matter_TH_error

Environment

v2.10+spring2024

Additional Information

No response

OlivierGre commented 3 weeks ago

I have solved the issue thanks to this https://stackoverflow.com/a/71937453/4331391.

I have deleted the cache with: rm -rf ~/.cache/pypoetry

hiltonlima commented 3 weeks ago

Hello @OlivierGre , Thanks for your feedback.

Could you please close this issue?