zephyrproject-rtos/west

issue in west install.

harshvsingh-eaton opened this issue · 3 comments

Tried installing west using this command "python3 -m pip install -U west==0.12.0" which failed with this error " ##[error]DEPRECATION: docopt is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559 "
I tried using alternative solution of using the flag " --use-pep517 " which suppresses the error, here is the document page for this "https://pypi.org/project/pep517/" which also gives the alternative for the flag, that is to install the "build" but even after try it gave us the same error.

Can anyone suggest me how i can install west without using flag --use-pep517"
Used west version : 0.12.0

"python3 -m pip install -U west==0.12.0"

What happens if you try to install the latest west version?

python3 -m pip install -U west

Can anyone suggest me how i can install west without using flag --use-pep517"

Did you try installing wheel?

After installing the wheel, i am able to run setup without using flag --use-pep517.