Last active
August 29, 2015 14:14
-
-
Save PSJoshi/7ecb53ac778ffd9dbd8f to your computer and use it in GitHub Desktop.
Python setuptools and pip installation
This file contains hidden or 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
# Install latest setuptools and pip | |
# get the setup script for Setuptools: | |
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py | |
# Then install it for Python 2.7 and/or Python 3.3: | |
python2.7 ez_setup.py | |
python3.3 ez_setup.py | |
# Install pip using the newly installed setuptools: | |
easy_install-2.7 pip | |
easy_install-3.3 pip | |
# With pip, you can now execute commands like this: | |
pip2.7 install [packagename] | |
pip2.7 install --upgrade [packagename] | |
pip2.7 uninstall [packagename] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment