Does not respect python virtualenv #28723
Labels
area: Build System
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Describe the bug
When I run west build from virtualenv, it still detects system python instead of the virtualenv one.
To Reproduce
Steps to reproduce the behavior:
west build -b auto -b nrf52840dongle_nrf52840 samples/basic/blinky
Logs and console output
[1/125] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h FAILED: zephyr/include/generated/kobj-types-enum.h zephyr/include/generated/otype-to-str.h cd /home/benji/proj/zephyr/zephyr/build/zephyr && /usr/bin/python3.8 /home/benji/proj/zephyr/zephyr/scripts/gen_kobject_list.py --kobj-types-output /home/benji/proj/zephyr/zephyr/build/zephyr/include/generated/kobj-types-enum.h --kobj-otype-output /home/benji/proj/zephyr/zephyr/build/zephyr/include/generated/otype-to-str.h --kobj-size-output /home/benji/proj/zephyr/zephyr/build/zephyr/include/generated/otype-to-size.h --include /home/benji/proj/zephyr/zephyr/build/zephyr/misc/generated/struct_tags.json Traceback (most recent call last): File "/home/benji/proj/zephyr/zephyr/scripts/gen_kobject_list.py", line 62, in import elftools ModuleNotFoundError: No module named 'elftools'
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: