前提・実現したいこと
O'REILLYのPythonではじめる機械学習 で使われているmglearn のインストールが
できません。
OS windows7
python 3.6.4
発生している問題・エラーメッセージ
jupyernotebook で
! pip install mglearn
とすると以下のエラーが出ます。Anaconda Promptでも同様です。
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x03BEFB10>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',)': /simple/mglearn/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x03BEF810>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',)': /simple/mglearn/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x03BEF870>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',)': /simple/mglearn/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x03BEF930>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',)': /simple/mglearn/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x03BEF910>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',)': /simple/mglearn/
Could not find a version that satisfies the requirement mglearn (from versions: )
No matching distribution found for mglearn
You are using pip version 9.0.1, however version 10.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
該当のソースコード
jupyernotebook で
! pip install mglearn
Anaconda Promptでも同様です。
試したこと
エラーにある,pipのバージョンをアップグレードしましたが
同じようなエラーになります。
githubで配布されている
https://github.com/amueller/mglearn
ので
pip install git+https://github.com/amueller/mglearn
としてみましたらgit認識されませんでした。
補足情報(FW/ツールのバージョンなど)
ここにより詳細な情報を記載してください。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/07/03 13:47
2018/07/03 14:32