LoginSignup
52

More than 5 years have passed since last update.

pythonメモ proxy下でのpip、easy_install

Posted at

概要

ちょくちょくぐぐるので自分用メモです。
Proxy環境下での操作方法。

easy_install

set HTTP_PROXY=http://proxy.hoge.jp:port

export HTTP_PROXY=http://user:password@proxy.hoge.jp:port/

の後に

easy install pkgname

pip

 pip install pycrypto --proxy=user@proxy.hoge.jp:port

備考

私の会社の環境では、proxy書いても書かなくても通ったり通らなかったりする。
なんでだろう?

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
52