-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
build: requirements: No module named yaml and elftools #6866
Comments
Your python installation is not working correctly, i.e. when you install with pip3 install --user it does install libraries in your home directory, the installation path seems not to be in your python path |
works here. |
This error message might occur if the wrong requirements.txt file is used. e.g.
vs.
|
For those using |
I had same issue this week myself, as I was forced to completely re-install a linux workstation (Ubuntu 16) Few comments that may help other people in the future: What I needed to do was to call following command from zephyr HOME: pip3 install --user -r scripts/requirements.txt I had to solve following issues:
EDIT:: python3 -m pip install --user pyelftools But in this case the version was little bit older than requirements. |
I have a similar issue. Even when I do everything as suggested by @avisconti I still get:
|
I am installing zephyr to a new ubuntu server according to this guide: Development Environment Setup on Linux. I had install additional packages by using this command:
after that i try compile a hello_world example for frdm_k64f,
the build system complained that can't find yaml. so i install python3-yaml using apt-get. after that cmake generated Makefile successful. Unfortunately make can't find 'elftools':
may be we forget add 'yaml' and 'elftools' in scripts/requirements ?
The text was updated successfully, but these errors were encountered: