Search code examples
pythonpython-3.xpipgit-review

Git review is not installing using PIP


C:\Users\Dell>pip install git-review

Fatal error in launcher: Unable to create process using '"c:\python39\python.exe" "C:\Python39\Scripts\pip.exe" install git-review': The system cannot find the file specified

I am getting this error i have tried many way to resolve it. by installing pip and python again. and trying old question to solve this error but unable to solve


Solution

  • Please upgrade pip with python -m pip install --upgrade --force-reinstall pip

    Then install git-review using python -m pip install git-review.

    Using python -m pip install instead of just pip install is recommended. The reason is that it will use the correct interpreter for your python installation, specially if you have many versions installed. More details here: https://snarky.ca/why-you-should-use-python-m-pip/

    Cheers!