Skip to content

Instantly share code, notes, and snippets.

@PSJoshi
Last active August 29, 2015 14:14
Show Gist options
  • Save PSJoshi/7ecb53ac778ffd9dbd8f to your computer and use it in GitHub Desktop.
Save PSJoshi/7ecb53ac778ffd9dbd8f to your computer and use it in GitHub Desktop.
Python setuptools and pip installation
# 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