1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

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

Posted at

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

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

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

pip3 --proxy=http://username:password@addless:port install ~
1
3
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
1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?