安装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(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接 。')))
百度了一些方法,先做下下面尝试:
然鹅, 问题没解决,
尝试镜像命令安装也不行,于是百度后说是由于环境问题导致,加上了--user,解决了!
随机推荐
List转换DataTable
/// /// 将泛类型集合List类转换成DataTable /// ///