I am trying to install virtualenv with Python 3.6 version under Windows 10.When I run \"pip install virtualenv\" I\'m getting this error. I am a newbie to Python.
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'"
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 :)
This worked for me:
easy_install --upgrade pip
Windows 10, Python 3.6
uninstall current pip:
python -m pip uninstall pip setuptools
download get-pip.py
from https://bootstrap.pypa.io/get-pip.py
execute get-pip script:
python get-pip.py