Skip to content

Instantly share code, notes, and snippets.

@itavero itavero/pip.sh
Created Oct 5, 2014

Embed
What would you like to do?
One liner to install Python PIP
python < <(curl -s https://bootstrap.pypa.io/get-pip.py)
@mathieucaroff

This comment has been minimized.

Copy link

mathieucaroff commented Jul 17, 2018

C:\WINDOWS\system32>python < <(curl -s https://bootstrap.pypa.io/get-pip.py)
< was unexpected at this time.

But cmd.exe supports piping:

C:\WINDOWS\system32>curl -s https://bootstrap.pypa.io/get-pip.py | python
Collecting pip
...

So use curl -s https://bootstrap.pypa.io/get-pip.py | python. It should also work on linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.