LoginSignup
3

More than 3 years have passed since last update.

【python3】pip3をプロキシ環境で使用する

Posted at

経緯

私はプロキシを使用しないといけない環境で開発しています。これによってpip3がエラーを吐くという状態に陥ってしまいました。

対策

pip3実行時にプロキシを使用するオプションをつける。

やり方

プロキシを使用するのに認証情報が必要な場合のやり方です。

pip3 --proxy=http://username:password@addless:port install ~

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
3