“Unable to locate finder for 'pip._vendor.distlib'” error when using "pip install virtualenv"

  1. uninstall current pip:

    python -m pip uninstall pip setuptools
    
  2. download get-pip.py from https://bootstrap.pypa.io/get-pip.py

  3. execute get-pip script:

    python get-pip.py
    

This worked for me:

easy_install --upgrade pip

Windows 10, Python 3.6


I will add the solution which worked for me here, in case someone is not able to solve their issue using the above approaches. Open Terminal or Command prompt or Anaconda prompt and follow the 3 steps :

Step 1
Enter python -m pip uninstall pip

Step 2
python -m ensurepip

Step 3
python -m pip install -U pip

The pip version can easily be checked using pip --version. Hope this works for you :)


Try uninstalling pip and installing get-pip.py. It appears to be a bug in the 3.6 version for Windows. https://github.com/pypa/pip/issues/3964

It's also reported here. pip install jupyter: "Unable to locate finder for 'pip._vendor.distlib'"