0
0

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 3 years have passed since last update.

【Python】Udemy 画像判定AIアプリ開発 Part1

Last updated at Posted at 2020-06-01

pipでflickrapiをインストールしようとしたらエラーが出力

##環境
Windows10
python3.7.6
Anaconda

##内容
pipでflickrapiをインストールする為,下記コマンドを入力

(tf140) C:\Users\ユーザー名>pip install flickrapi

エラーが発生

ERROR: Exception:
Traceback (most recent call last):
  File "C:\python\envs\tf140\lib\site-packages\pip\_vendor\urllib3\response.py", line 425, in _error_catcher
    yield
  File "C:\python\envs\tf140\lib\site-packages\pip\_vendor\urllib3\response.py", line 507, in read
                              ~~省略~~
    raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

調べてみたら,「Read timed out」普通に読み込みが長すぎて,エラーが出力されたっぽい。

##対応と結果
下記コマンドを投入

pip --default-timeout=100 install flickrapi

タイムアウトになるまでの時間(デフォルト値)を100秒に変更みたいな感じかな、、、、?

上手くいきました:relaxed:

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?