【Python】Udemy 画像判定AIアプリ開発 Part1
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秒に変更みたいな感じかな、、、、?
上手くいきました
Author And Source
この問題について(【Python】Udemy 画像判定AIアプリ開発 Part1), 我々は、より多くの情報をここで見つけました https://qiita.com/yossi_0315/items/591d06dd995009a9cddd著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .