close

[Solved] Error: No matching distribution found for pip

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Error: No matching distribution found for pip in python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Error: No matching distribution found for pip Error Occurs?

Today I get the following error Error: No matching distribution found for pip in python.

How To Solve Error: No matching distribution found for pip Error ?

  1. How To Solve Error: No matching distribution found for pip Error ?

    To Solve Error: No matching distribution found for pip Error First run cmd as administrator in windows. Then just try python get-pip.py --trusted-host=files.pythonhosted.org --trusted-host=pypi.org. I have tried and it works for me.

  2. Error: No matching distribution found for pip

    To Solve Error: No matching distribution found for pip Error First run cmd as administrator in windows. Then just try python get-pip.py --trusted-host=files.pythonhosted.org --trusted-host=pypi.org. I have tried and it works for me.

Solution 1

This is a proxy issue because of using sudo. Starting a command with sudo will not ensure that exports like export http_proxy=<MY_PROXY>are still up to date.

You should try that :

python get-pip.py --proxy="[user:[email protected]]proxy.server:port"

and if you don’t have user/passwd just :

python get-pip.py --proxy="proxy.server:port"

Example :

python get-pip.py --proxy="192.168.0.12:3128"

Solution 2

First run cmd as administrator in windows. Then just try python get-pip.py --trusted-host=files.pythonhosted.org --trusted-host=pypi.org. I have tried and it works for me.

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read