Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

EC2(Amazon linux)でpipインストール時のエラー対処

More than 3 years have passed since last update.

EC2(Amazon linux)でpipであるソフトウェアをinstallしようとしたところ、エラー(pkg_resources.DistributionNotFound: pip==6.1.1)が出たので、その対処法をメモ

①pipのインストール

sudo easy_install pip

②pipのupgrade

sudo easy_install --upgrade pip

③pipのパスを移動

sudo cp /usr/local/bin/pip /usr/sbin/

※pipのバージョン確認

which pip

上記③の対処をすることで、前述のエラーはなくなりました。

参考)
http://stackoverflow.com/questions/34103119/upgrade-pip-in-amazon-linux

suzukihi724
各種備忘録
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away