Open lboue opened 4 months ago
My situation differs from yours; I encounter this error when running the environment update command "source ./scripts/activate.sh". You might also resolve it by changing the version of prompt-toolkit, which is located in the file scripts/setup/constraints.txt. Search for prompt-toolkit and change the version to 3.0.43.
scripts/setup/constraints.txt
Thanks, that fixed the problem I was having. I open PR #147 to fix it.
Description of the issue
Setting environment variables for Host tools fails :
ImportError: cannot import name 'OneStyleAndTextTuple' from 'prompt_toolkit.formatted_text'
Steps to reproduce the issue
Trying to build the Matter Silabs dishwasher Example
Device type(s) and network topology
Setup up build environnement
Proposed solution(s)
No response
SMG version
release_2.2.0-1.2
Protocol(s)
Thread
Hardware platform(s)
BRD2704A
Development platform(s)
Ubuntu 22.04.3 LTS (GNU/Linux 6.5.0-17-generic x86_64)
Captured data or logs
SiliconLabs-issue-40.log