首页 > 其他分享> > 安装xlrd包的时候,总是报错:ERROR: Could not install packages due to an EnvironmentError: HTTPConnectionPool (ho
安装xlrd包的时候,总是报错:ERROR: Could not install packages due to an EnvironmentError: HTTPConnectionPool (ho
作者:互联网
安装xlrd包的时候,总是报错:ERROR: Could not install packages due to an EnvironmentError: HTTPConnectionPool (host='127.0.0.1', port=8888): Max retries exceeded with url: http://pypi.douban .com/simple/ (Caused by ProxyError('Cannot connect to proxy.', NewConnectionErro r('<pip._vendor.urllib3.connection.HTTPConnection object at 0x039C3AF0>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接 。')))
百度了一些方法,先做下下面尝试:
然鹅, 问题没解决,
尝试镜像命令安装也不行,于是百度后说是由于环境问题导致,加上了--user,解决了!
标签:127.0,8888,0.1,报错,EnvironmentError,xlrd,port 来源: https://www.cnblogs.com/heidouli/p/12938615.html