EXEC:EXEC(0,0): Error : not found: python2


I am trying to Merge my local branch to Target branch on server VSTS but it always failed by saying below error message:-

EXEC:EXEC(0,0): Error : not found: python2

My local publish works well but only issue when merging any source to target branch on VSTS.

enter image description here


I am able to resolve this issue by adding following command :- Only issue was that Python was not installed on server, so these 2 command will help you to install that package:-

1) npm install nan 2) npm install node-sass

it works like a charm, thanks everyone for your reply.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at


Login to comment


GAE ERROR :- /bin/sh: 1: exec: gunicorn: not found

exec: executable file not found in $PATH

Error = find: -exec: no terminating ";" or "+"

WkHTMLtoPDF PHP exec xvfb-run: Error: xauth command not found

"exec not found" when using variable in exec

System error: exec: "deployment": executable file not found in $PATH

Error on installing angular/cli - not found: python2

jhipster - gyp verb `which` failed Error: not found: python2

Getting error executable file not found in $PATH when trying verbose run docker container or when docker exec

ERROR: Repository not found whilst running git pull via shell_exec on php script

Python EXEC show error: name is not defined

Curl_exec returns 404 not found error whereas url is found in browser

exec proxy not found for :: YoutubeVideoPlayer :: openVideo

Error running docker container: starting container process caused "exec: \"python\": executable file not found in $PATH": unknown

fetch --nohooks --no-history chromium throws error : depot_tools/fetch: line 8: exec: python: not found

"exec: "python": executable file not found in $PATH

google dev_appserver throws error 'python2: command not found' after upgrade to python 3.7

Python AST exec "... is not defined" error on recursive function

Find and exec in found folder

Dash exec redirection error

Exec vs source error on ==

Not found argument in -exec

Command Python2 not found

CloudFoundry staging error exec: "git": executable file not found in $PATH

exec not found using Dockerfile ENTRYPOINT

Wifi-Adapter not found, then fixed, now lost again, same solution does not work: Exec format error

Ionic error - Exec proxy not found for :: Ftp :: connect

camel-exec : No endpoint could be found error

cgo: exec gcc: exec: "gcc": executable file not found in $PATH Error in Egress operator installation