-3

I was reinstalling python, and trying to install pip when I got the following error:

python install pip

python: can't open file 'install': [Errno 2] No such file or directory

14
  • Are you on linux Commented Jun 7, 2021 at 13:42
  • I'm on windows. Commented Jun 7, 2021 at 13:45
  • pip.pypa.io/en/stable/installing Commented Jun 7, 2021 at 13:46
  • 1
    basically just download get-pip.py from here, open a command prompt in the directory where you downloaded the file to, and run python get-pip.py. Commented Jun 7, 2021 at 14:02
  • 2
    because you're running an invalid command. please take some time to read the comments here. then run python get-pip.py. There's no install flag. Commented Jun 7, 2021 at 14:04

1 Answer 1

1

I don't think this is how you install pip. If you don't have it already, you should use the get-pip.py script documented here

Sign up to request clarification or add additional context in comments.

5 Comments

I still get the same error.
Try checking my comment
@AbhirajshriWinsome you'll have to run the script; python get-pip.py
@MrFuppes I got this error: python: can't open file 'install': [Errno 2] No such file or directory
There isn't an install command that you need. on windows its just py get-pip.py

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.