0
1

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.

何故かpipがタイムアウトするのだが、Wi-Fiでテザリングしたらあっさりクリア

Last updated at Posted at 2019-04-28

自宅の環境でpipを実行すると何故かタイム・アウトするのですが、もしかしたらネットワーク環境が良くないのかと思い、Wi-Fiのテザリングで接続したら普通に動きました。
Why?

pipの設定でなんとかしようとした

ネットで調べると、pipのオプションに --default-timeout=100 とかすると良いとか、書いているのですが、一向に改善しません。

考え方を変えてみた

もしかしたら、ネットワーク環境が悪いのかと思い、自宅のWi-Fiからスマホのテザリングに切り替えてみました。
すると…。
あっさり成功。
プロバイダから、pypi.orgが遠いのでしょうか。

2019/4/30追記

802.11aを使っていたのですが、802.11gに切り替えてみてもあっさり成功しました。
PCか無線LANルーターが悪いのかな。

0
1
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?