質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

pip

pipとは、Pythonを用いて書かれているパッケージソフトのインストールや管理を行うためのパッケージマネジメントシステムです。pipを使う主なメリットは、コマンドラインインターフェースにて容易にPythonパッケージソフトをインストール可能だという点です。

Q&A

0回答

858閲覧

pip でパッケージがインストールできない

TOA

総合スコア9

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

pip

pipとは、Pythonを用いて書かれているパッケージソフトのインストールや管理を行うためのパッケージマネジメントシステムです。pipを使う主なメリットは、コマンドラインインターフェースにて容易にPythonパッケージソフトをインストール可能だという点です。

0グッド

0クリップ

投稿2018/08/13 09:19

python初心者です
pipを用いて追加パッケージ(pydotplus)をインストールしようとしたところ、以下のようなエラーメッセージが発生しました。

該当のソースコード

C:\Users\ユーザー名>pip

1Collecting pydotplus 2 Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000276044887F0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/pydotplus/ 3 Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000276044885F8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/pydotplus/ 4 Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000276044886D8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/pydotplus/ 5 Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000027604488588>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/pydotplus/ 6 Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000276044883C8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/pydotplus/ 7 Could not find a version that satisfies the requirement pydotplus (from versions: ) 8No matching distribution found for pydotplus 9 10### 試したこと 11pip listで現在のインストール物を確認しましたが、pydotplusは入っていませんでした。 12 13また、condaを用いてインストールを試みましたが、 14C:\Users\17001928>conda install pydotplus 15Solving environment: failed 16 17# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<< 18 19`$ C:\Users\ユーザー名\AppData\Local\Continuum\anaconda3\Scripts\conda install pydotplus` 20 21 environment variables: 22 AUTHCONFPATH=C:\Program Files (x86)\Common Files\NTTSOFT\etc 23 CIO_TEST=<not set> 24 CONDA_ROOT=C:\Users\ユーザー名\AppData\Local\Continuum\anaconda3 25 HOMEPATH=\Users\ユーザー名 26 PATH=C:\Program Files (x86)\Common Files\NTTSOFT\lib;C:\Oracle\Ora112\bin;C 27 :\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\Syst 28 em32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Personal 29 Communications\;C:\Program Files (x86)\IBM\Trace Facility\;C:\Program 30 Files (x86)\IBM\informix\client-SDK\bin;C:\Program Files 31 (x86)\ibm\gsk7\bin;C:\Program Files (x86)\ibm\gsk7\lib;C:\Users\170019 32 28\AppData\Local\Continuum\anaconda3;C:\Users\17001928\AppData\Local\C 33 ontinuum\anaconda3\Library\mingw-w64\bin;C:\Users\17001928\AppData\Loc 34 al\Continuum\anaconda3\Library\usr\bin;C:\Users\17001928\AppData\Local 35 \Continuum\anaconda3\Library\bin;C:\Users\17001928\AppData\Local\Conti 36 nuum\anaconda3\Scripts;C:\Users\17001928\AppData\Local\Microsoft\Windo 37 wsApps 38 PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\windows\system32\Windows 39 PowerShell\v1.0\Modules 40 REQUESTS_CA_BUNDLE=<not set> 41 SSL_CERT_FILE=<not set> 42 43 active environment : None 44 user config file : C:\Users\ユーザー名.condarc 45 populated config files : C:\Users\ユーザー名.condarc 46 conda version : 4.5.4 47 conda-build version : 3.10.5 48 python version : 3.6.5.final.0 49 base environment : C:\Users\ユーザー名\AppData\Local\Continuum\anaconda3 (writable) 50 channel URLs : https://conda.anaconda.org/conda-forge/win-64 51 https://conda.anaconda.org/conda-forge/noarch 52 https://repo.anaconda.com/pkgs/main/win-64 53 https://repo.anaconda.com/pkgs/main/noarch 54 https://repo.anaconda.com/pkgs/free/win-64 55 https://repo.anaconda.com/pkgs/free/noarch 56 https://repo.anaconda.com/pkgs/r/win-64 57 https://repo.anaconda.com/pkgs/r/noarch 58 https://repo.anaconda.com/pkgs/pro/win-64 59 https://repo.anaconda.com/pkgs/pro/noarch 60 https://repo.anaconda.com/pkgs/msys2/win-64 61 https://repo.anaconda.com/pkgs/msys2/noarch 62 package cache : C:\Users\ユーザー名\AppData\Local\Continuum\anaconda3\pkgs 63 C:\Users\ユーザー名\AppData\Local\conda\conda\pkgs 64 envs directories : C:\Users\ユーザー名\AppData\Local\Continuum\anaconda3\envs 65 C:\Users\ユーザー名\AppData\Local\conda\conda\envs 66 C:\Users\ユーザー名.conda\envs 67 platform : win-64 68 user-agent : conda/4.5.4 requests/2.18.4 CPython/3.6.5 Windows/10 Windows/10.0.14393 69 administrator : False 70 netrc file : None 71 offline mode : False 72 73 74V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V 75 76CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/free/noarch/repodata.json.bz2> 77Elapsed: - 78 79An HTTP error occurred when trying to retrieve this URL. 80HTTP errors are often intermittent, and a simple retry will get you on your way. 81 82If your current network has https://www.anaconda.com blocked, please file 83a support request with your network engineering team. 84 85ConnectionError(MaxRetryError("HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/free/noarch/repodata.json.bz2 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000002DB2FE9BFD0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))",),) 86 87A reportable application error has occurred. Conda has prepared the above report. 88If submitted, this report will be used by core maintainers to improve 89future releases of conda. 90Would you like conda to send this report to the core maintainers? 91[y/N]: 92 93というエラー表記が出てしまいます。 94エラー原因について教えていただけないでしょうか。 95 96### 補足情報(FW/ツールのバージョンなど) 97anaconda 98python 3.6 99windows10

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

tachikoma

2018/08/13 10:12

Proxyサーバーの内側にあるPCですかね?
TOA

2018/08/13 15:45

会社のPCなのですが、WEBの閲覧規制もかかるようになっているので、おそらくそうだと思われます。
tachikoma

2018/08/13 20:34

http_proxyをpipのオプションで指定してやると通るかもしれないですね
R.Shigemori

2018/08/13 22:53

install用資源があるサイトそのものに閲覧制限が設定されているのであれば、ネットワーク管理者に相談したほうが安全と思います。勝手にPCの設定を変えて閲覧制限を回避したとなると面倒なことが起こるかもしれません
TOA

2018/08/15 08:08

ありがとうございます。管理者に確認してみます。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問