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.
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 :)