Topic on Talk:Gerrit/git-review

C:\Program: bad interpreter

4
Tgr (talkcontribs)

If you get C:\Program: bad interpreter when running git-review from the git bash shell on Windows (this happens when Pythong is installed inside the Program Files folder), you can fix it by opening the git-review script file (probably C:\Program Files\Python\PythonXX\Scripts\git-review) and in the first line (the one starting with #!) changing Program Files to Progra~1.

Bcharles (talkcontribs)

I had the same problem. This fix worked. I had already used the Progra~1 substitution in the git-review.bat file.

My installation of git-review resides at C:\Program Files\Python27\Scripts\

There is a bug report here.

12.1.141.146 (talkcontribs)

So after 5 years this has changed a bit. I went into the directory at: `C:\Program Files\Python27\Scripts\`

I had no git-review file but I did have a plain old `aws` file without an extension. I opened this and changed the `Program Files` piece of the directory path to `Progra~1` as mentioned by the others.

Thanks!

144.202.102.34 (talkcontribs)

thanks


Reply to "C:\Program: bad interpreter"