LoginSignup
14
14

More than 5 years have passed since last update.

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

Last updated at Posted at 2016-07-09

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

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