无法安装Python docx包

无法安装Python docx包,python,python-docx,Python,Python Docx,我试图安装pythondocx软件包,并得到下面的错误 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.requ

我试图安装
pythondocx
软件包,并得到下面的错误

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
C:\Program Files\Anaconda3\Scripts>pip安装python docx
收集python docx
“NewConnectionError(':未能建立新连接:[Errno 11002]getaddrinfo Failed',)”:/simple/python docx在连接被“NewConnectionError(':未能建立新连接:[Errno 11002]getaddrinfo Failed',)中断后重试(重试(总计=4,连接=None,读取=None,重定向=None))/
“NewConnectionError(':未能建立新连接:[Errno 11002]getaddrinfo Failed',)”:/simple/python docx在连接被“NewConnectionError(':未能建立新连接:[Errno 11002]getaddrinfo Failed',)中断后重试(重试(总计=3,连接=None,读取=None,重定向=None))/
“NewConnectionError(':未能建立新连接:[Errno 11002]getaddrinfo Failed',)”:/simple/python docx在连接被“NewConnectionError(':未能建立新连接:[Errno 11002]getaddrinfo Failed',)中断后重试(重试(总计=2,连接=None,读取=None,重定向=None))/
“NewConnectionError(':未能建立新连接:[Errno 11002]getaddrinfo Failed',)”:/simple/python docx在连接被“NewConnectionError(':未能建立新连接:[Errno 11002]getaddrinfo Failed',)中断后重试(重试(总计=1,连接=None,读取=None,重定向=None))/
“NewConnectionError(':未能建立新连接:[Errno 11002]getaddrinfo Failed',)”:/simple/python docx在连接被“NewConnectionError(':未能建立新连接:[Errno 11002]getaddrinfo Failed',)中断后重试(重试(总计=0,连接=None,读取=None,重定向=None))/
找不到满足python docx要求的版本(来自版本:)
未找到python docx的匹配发行版
在cmd上执行“where pip” 您将获得pip的路径(pip路径) 然后执行“pip路径安装包”或直接使用“conda安装包名称”
因为你有蟒蛇。

我唯一的想法是pip的网站错了,它无法连接到页面,因此无法下载软件包。因此,不妨直接从网站下载: /pythondocx。希望我能帮忙

-宙斯