このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
- 2024.01.18 RailsでSSLエラー 以前のリビジョンを復元 (2024/01/18 07:06)
- 31 CentOS5 TLS1.2 created
- 2024.04.12 MySQL BIT Field created
最近の更新
pipとは、Pythonにおけるパッケージ管理システムです。
easy_installというツールもあるのですが、pipはこのeasy_installを置き換えるものとして開発されています。
rubyのgem、perlのcpan的な位置づけです。
easy_installが入ってない場合は、python-setuptoolsを入れてあげる
# wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python
subprocess.CalledProcessError: Command '['wget', 'https://pypi.python.org/packages/source/s/setuptools/setuptools-3.3.zip', '--quiet', '--output-document', '/root/setuptools-3.3.zip']' returned non-zero exit status 1
先にダウンロードしてあげると上手くいきます。
# wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
# wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-3.3.zip
# python ez_setup.py
# easy_install pip