Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing Matter SDK in branch 'release/v1.2' (CON-1560) #1288

Open
lunDreame opened this issue Feb 22, 2025 · 2 comments
Open

Error installing Matter SDK in branch 'release/v1.2' (CON-1560) #1288

lunDreame opened this issue Feb 22, 2025 · 2 comments

Comments

@lunDreame
Copy link

lunDreame commented Feb 22, 2025

Hi, I installed it with the command below, but I get an error.

$ cd ${sdk_path}
$ git clone --branch release/v1.2 --depth 1 https://github.com/espressif/esp-matter.git esp-matter
$ cd esp-matter
$ git submodule update --init --depth 1
$ cd ./connectedhomeip/connectedhomeip
$ ./scripts/checkout_submodules.py --platform esp32 linux --shallow
$ cd ${sdk_path}/esp-matter
$ bash ./install.sh

Mac OS environment and full log when running bash./install.sh .
error.txt

@github-actions github-actions bot changed the title Error installing Matter SDK in branch 'release/v1.2' Error installing Matter SDK in branch 'release/v1.2' (CON-1560) Feb 22, 2025
@shubhamdp
Copy link
Contributor

@lunDreame Problem is due to incompatibility of Python v3.13 with cffi v1.15.1

This was fixed on master in https://github.com/project-chip/connectedhomeip/pull/36549/files

Can you check if bumping the cffi to v1.17.1 would fix the problem?

cd esp-matter/connectedhomeip/connectedhomeip
curl https://github.com/shubhamdp/connectedhomeip/commit/a15a6245f5141ca3d4c0b66e794679a1f5a6a1ad.patch | git am

# remove previous env and re-run the install.sh
rm -rf .environment
cd ../../
source /path/to/esp-idf/export.sh
./install.sh

@lunDreame
Copy link
Author

lunDreame commented Feb 25, 2025

Thank you I will check for this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants