1

I am using the command line to try to install pip. I am using the command line to install the file. I am using the command "python C:\Users\Lucas\Desktop\get-pip.py install" in the C:\Python27 directory. Below is the error message i receive in the error log:

Exception information:
Traceback (most recent call last):
 File "c:\users\lucas\appdata\local\temp\unpacker-hpeuf5-scratchdir\pip\basecommand.py", line 134, in main
 status = self.run(options, args)
 File "c:\users\lucas\appdata\local\temp\unpacker-hpeuf5-scratchdir\pip\commands\install.py", line 236, in run
 requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
 File "c:\users\lucas\appdata\local\temp\unpacker-hpeuf5-scratchdir\pip\req.py", line 1077, in prepare_files
 url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
 File "c:\users\lucas\appdata\local\temp\unpacker-hpeuf5-scratchdir\pip\index.py", line 265, in find_requirement
 raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for install
BenMorel
37.1k53 gold badges208 silver badges339 bronze badges
asked Nov 27, 2013 at 20:06
1

5 Answers 5

2

Try:

cd C:\Users\Lucas\Desktop
python get-pip.py
answered Nov 27, 2013 at 20:14
Sign up to request clarification or add additional context in comments.

Comments

0

Do not pass any parameters:

python get-pip.py

or

/path/to/version/python get-pip.py
answered Nov 27, 2013 at 20:13

Comments

0

Try this out

sudo python get-pip.py
kero
10.7k5 gold badges44 silver badges52 bronze badges
answered Nov 27, 2013 at 20:57

Comments

0

Try doing all these activities using python3 and pip3. That worked for me

answered Feb 3, 2021 at 13:57

Comments

0

The install command is unnecassary, as others pointed on, switch to get-pip.py directory and run command python get-pip.py would be enough.

The error indicates that the pip tries to install something with the install command and it does not find the requirement of package name to be installed. This install or upgrade you can do once pip gets installed.

The command python \path\to\getpip\get-pip.py will take care of installing pip with python. Once this step is completed you could try install or upgrade command like pip install <pkgname>

answered Aug 19, 2023 at 4:17

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.