[Python] Unable to update PATH variable for pip on Windows 10

Discussão em 'Python' iniciado por Stack, Fevereiro 1, 2025.

  1. Stack

    Stack Membro Participativo

    I know there are thousands of similar topics but my pip command has suddenly stopped to work and, despite all my researchs, I can't figure out why. It has been a while since I last used pip and surprisingly my computer doesn't recognize the command anymore. I reinstalled pip and the prompt tells me that the PATH variable is not correctly updated. So I update it but that doesn't solve the problem, the prompt still tells me the PATH variable is not updated. I've tried uninstalling and reinstalling python and pip and nothing works. In my environment variables, I have a user variable named PATH and a system variable named PATH, both of them have the value :
    C:\Users\mertz\AppData\Local\Programs\Python\Python38\Scripts\

    The user variable was already written by itself and I had to write the system variable myself.

    When I'm installing pip I get this warning :


    WARNING: The scripts pip.exe, pip3.6.exe and pip3.exe are installed in 'C:\Users\mertz\AppData\Local\Programs\Python\Python36-32\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
    ​

    And when I type pip in the command prompt, it tells me that pip is not recognized.

    What did I do wrong ?

    Thanks in advance

    Continue reading...

Compartilhe esta Página