LoginSignup
7
8

More than 5 years have passed since last update.

CentOS7にpipをインストール。ついでにiPythonも。

Last updated at Posted at 2015-04-28

pipのインストーラーをダウンロードする。

このURLから、任意の場所にダウンロードしてください。
https://bootstrap.pypa.io/get-pip.py

いきなりファイルのURLを書きましたが、WEB上では以下の場所になります。
1. pipのホームページにアクセスしてリンクInstallationをクリックする。
https://pypi.python.org/pypi/pip
1.png
2. 少し下にスクロールして、To install pip, securely download get-pip.py. [2]のリンク先が、上記のインストーラーのURLになります。
5.png

スーパーユーザーで、pipのインストーラーを実行する。

python get-pip.py
1.png

これで完了です。
get-pip.pyは削除おいてください。

試しに、pipを使ってiPythonでもインストールしてみる。

pip install ipython
3.png

さくっと入りました。
iPythonのインタプリタを実行してみましょう。
ipython

print 'hello egg !'

4.png

問題なく動きますね。
お疲れ様でした。

7
8
0

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
7
8