Search code examples
pythonpip

The system cannot execute the specified program when using pip


I tried to download colorama, but when I write pip install colorama, there is an error:

The system cannot execute the specified program.

Here is the command input and the output:

C:\Users\ADMIN>pip install colorama
The system cannot execute the specified program.

Solution

    1. Verify that python is installed and working: python -V (prints current python version to console)
    2. Ensure that latest pip version is installed: python -m ensurepip --upgrade
    3. Verify pip is working: pip -V (prints current pip version to console)
    4. Install package: pip install colorama