我多次在 Visual Studio Code 中安装 pyttsx3 失败。每次我尝试安装 pyttsx3 时,它都会显示以下错误
PS E:\python> pip install pyttsx3 默认为用户安装,因为普通的站点包不可写 收集 pyttsx3 使用缓存的 pyttsx3-2.90-py3-none-any.whl (39 kB) 收集 pypiwin32 使用缓存的 pypiwin32-223-py3- none-any.whl (1.7 kB) 收集 pywin32 警告:在连接被 'NewConnectionError('<pip._vendor .urllib3.connection.HTTPSConnection object at 0x000001DFED6E8760>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /packages/cb/38/391371466109bd26a02047b9392fa6b0c1777deadb2f8cd4d2f699bf4574/pywin32-301-cp38-cp38-win_amd64.whl WARNING:连接被 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001DFED6E8970>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /packages/cb/38/391371466109bd26a02047b9392fa6b0c1777deadb2f8cd4d2f699bf4574/pywin32-301-cp38-cp38-win_amd64.whl WARNING :连接被 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001DFED6E8B80>: Failed建立一个新的连接:[Errno 11002] getaddrinfo failed')': /packages/cb/38/391371466109bd26a02047b9392fa6b0c1777deadb2f8cd4d2f699bf4574/pywin32-301-cp38-cp38-win_amd64.whl WARNING=重试=N连接被 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001DFED6E8D90>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed')': /packages/cb/38/391371466109bd26a02047b9392fa6b0c1777deadb2f8cd4d2f699bf4574/pywin32-301-cp38-cp38-win_amd64.whl WARNING: Retrying (重试(total=0, connect=None, read=None, redirect=None, status=None)) 连接被 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001DFED6E8FA0>: Failed to建立新连接:[Errno 11002] getaddrinfo failed')': /packages/cb/38/391371466109bd26a02047b9392fa6b0c1777deadb2f8cd4d2f699bf4574/pywin32-301-cp38-cp38-win_amd64.whl 错误:无法安装软件包(由于 HTTPS 导致 OSP= 连接) files.pythonhosted.org', port=443): 超过 url 的最大重试次数:/packages/cb/38/391371466109bd26a02047b9392fa6b0c1777deadb2f8cd4d2f699bf4574/pywin32-301-cp38-cp38-win_amd64.whl (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001DFED6F21F0>: Failed to establish a new connection: [Errno 11001] getaddrinfo 失败'))