hi
had some problems to get the zephyr compilation to work using zephyr tools on windows, as import error occured in search for elftools.
this resolved it, may help anyone else with same issue.
pip install pyelftools==0.29 –target C:\Users\Username.zephyrtools\env\Lib\site-packages
same pyelftools was in Python 3.11.8 site-packages, but still raised flag during compilation as not in .zephyrtools equivalent directory.
Basic Info : Windows 11, Python 3.11.8, ZephyrTools v0.2.3, VS Code 1.87.1