Skip to content

Instantly share code, notes, and snippets.

@kenzo0107
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenzo0107/1524267337a7b1f2a478 to your computer and use it in GitHub Desktop.
Save kenzo0107/1524267337a7b1f2a478 to your computer and use it in GitHub Desktop.
sudo su -
Password: (root権限のパスワード入力)
# get-pip.py実行
curl -kL https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python
# pip バージョン確認
pip --version
pip 6.0.8 from /usr/local/lib/python2.7/site-packages (python 2.7)
# pip コマンド実行パス検索
which pip
/usr/local/bin/pip
# get-pip.pyがどんなpipの配置にしたか興味本位で見てみる
find / -name 'pip'
/root/.cache/pip
/usr/local/bin/pip
/usr/local/lib/python2.7/site-packages/pip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment