Last active
December 15, 2015 07:09
-
-
Save objarni/5221169 to your computer and use it in GitHub Desktop.
Lazy me likes to install pip on a windows machine with git-bash on it. Here's the rows!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# COMMAND PROMPT ENVIRONMENT | |
python -c "import urllib.request;open('distribute_setup.py', 'wb').write(urllib.request.urlopen('http://python-distribute.org/distribute_setup.py').read())" | |
python distribute_setup.py | |
python -c "import urllib.request;open('get-pip.py', 'wb').write(urllib.request.urlopen('https://raw.github.com/pypa/pip/master/contrib/get-pip.py').read())" | |
python get-pip.py | |
# GIT-MSYS ENVIRONMENT | |
curl -O http://python-distribute.org/distribute_setup.py | |
python distribute_setup.py | |
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py | |
python get-pip.py | |
# BOTH ENVIRONMENTS | |
# you want to add "<pythonpath>/Scripts" to PATH env variable to make PIP.EXE available from prompt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment