2017-08-31 22 views
-2

python-docxパッケージをインストールしようとしましたが、以下のエラーが表示されます。Python-docxパッケージをインストールできない

C:\Program Files\Anaconda3\Scripts>pip install python-docx 

Collecting python-docx 
    Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x000001E9A398CD68>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed',)': /simple/python-docx/ 

Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x000001E9A398C240>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed',)': /simple/python-docx/ 

Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x000001E9A398C828>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed',)': /simple/python-docx/ 

Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x000001E9A398C438>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed',)': /simple/python-docx/ 

Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x000001E9A39819B0>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed',)': /simple/python-docx/ 
    Could not find a version that satisfies the requirement python-docx (from versions:) 
No matching distribution found for python-docx 

答えて

0

「どこピップ」あなたのCMD には、あなたがして、「PIP-パスは、パッケージをインストールする」んPIP(PIP-パス) のパスを取得するか、直接「condaインストールパッケージ名」を使用することができませんあなたがアナコンダを持っているので

0

私の考えはpipに間違ったウェブサイトがあり、ページに接続できず、パッケージをダウンロードできないということだけです。 Webサイトから直接ダウンロードしてみてください:https://pypi.python.org/pypi /python-docx私は助けてくれるといいですね。

-ゼウス

関連する問題