LoginSignup
118

More than 5 years have passed since last update.

pipのインストール方法

Last updated at Posted at 2016-10-12

pip のインストール方法

事前準備

  1. python がインストール済みであること

Windows環境手順

  1. ダウンロード先:https://bootstrap.pypa.io/get-pip.py よりget-pip.pyを任意のディレクトリに保存する
  2. 保存したディレクトリで下記コマンドを実行する
python get-pip.py

Linux(CentOS)環境手順

  1. pip をインストールする
curl -kL https://bootstrap.pypa.io/get-pip.py | python

インストールの確認(pip のバージョン確認)

  1. 下記コマンドを実行する
pip -V

結果として、下記のようなpipのバージョンが表示されたらインストールが完了している

表示例:pip 8.1.2 from /usr/local/lib/python2.7/site-packages (python2.7)

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
118