# Gyp verb which failed Error: not found: python2

**URL:** <https://discourse.sst.dev/t/gyp-verb-which-failed-error-not-found-python2/2402>\
**Category:** General\
**Created:** [May 24, 2021, 8:28pm UTC](https://discourse.sst.dev/t/gyp-verb-which-failed-error-not-found-python2/2402 "2021-05-24T20:28:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![heyysaiii](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/heyysaiii/32/1176_2.png) [@heyysaiii](https://discourse.sst.dev/u/heyysaiii)\
**Post date:** [May 24, 2021, 8:28pm UTC](https://discourse.sst.dev/t/gyp-verb-which-failed-error-not-found-python2/2402/1 "2021-05-24T20:28:07Z")

</div>

Error : `npm ERR! gyp verb clean removing "build" directory npm ERR! gyp verb command configure [] npm ERR! gyp verb check python checking for Python executable "python2" in the PATH npm ERR! gyp verb `which` failed Error: not found: python2`

Solution : installed node v14.17.0, and use the command `npm install --save-dev --save-exact serverless-bundle@4.3.1` and after this compiled` npm install -f` … Now the path problem is solved. Thank you
