首页 > 其他 > 详细

pip 安装pandas报错

时间:2020-05-31 16:08:16      阅读:67      评论:0      收藏:0      [点我收藏+]

遇到的问题

pip install pandas报错:

C:\Users\yuze>pip install pandas
Collecting pandas
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(‘<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0500A730>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed‘)‘: /packages/57/70/0292ee0aad71fd662f196502da0d608b7fa82fa32d19e412c10b63b4b415/pandas-1.0.4-cp38-cp38-win32.whl
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(‘<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0500ADA8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed‘)‘: /packages/57/70/0292ee0aad71fd662f196502da0d608b7fa82fa32d19e412c10b63b4b415/pandas-1.0.4-cp38-cp38-win32.whl
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(‘<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0502C460>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed‘)‘: /packages/57/70/0292ee0aad71fd662f196502da0d608b7fa82fa32d19e412c10b63b4b415/pandas-1.0.4-cp38-cp38-win32.whl
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(‘<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0502CB80>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed‘)‘: /packages/57/70/0292ee0aad71fd662f196502da0d608b7fa82fa32d19e412c10b63b4b415/pandas-1.0.4-cp38-cp38-win32.whl
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(‘<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x05050B80>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed‘)‘: /packages/57/70/0292ee0aad71fd662f196502da0d608b7fa82fa32d19e412c10b63b4b415/pandas-1.0.4-cp38-cp38-win32.whl
ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host=‘files.pythonhosted.org‘, port=443): Max retries exceeded with url: /packages/57/70/0292ee0aad71fd662f196502da0d608b7fa82fa32d19e412c10b63b4b415/pandas-1.0.4-cp38-cp38-win32.whl (Caused by NewConnectionError(‘<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x050B70A0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed‘))

解决办法

pip --default-time=100 install pandas

 

C:\Users\yuze>pip --default-time=100 install pandas
Collecting pandas
  Downloading pandas-1.0.4-cp38-cp38-win32.whl (7.6 MB)
     |████████████████████████████████| 7.6 MB 39 kB/s
Installing collected packages: pandas
Successfully installed pandas-1.0.4

pip 安装pandas报错

原文:https://www.cnblogs.com/yuze2020/p/12998286.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!