鱼C论坛

 找回密码
 立即注册
查看: 2147|回复: 8

pip install pandas 时报错,怎么办?求帮助!

[复制链接]
发表于 2019-12-9 13:59:40 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
pip install pandas 时报错

Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:\Python34>pip install pandas && pip install numpy
Downloading/unpacking pandas
Cleaning up...
Exception:
Traceback (most recent call last):
  File "C:\Python34\lib\site-packages\pip\_vendor\requests\packages\urllib3\conn
ection.py", line 159, in connect
    **self.conn_kw)
  File "C:\Python34\lib\socket.py", line 509, in create_connection
    raise err
  File "C:\Python34\lib\socket.py", line 500, in create_connection
    sock.connect(sa)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Python34\lib\site-packages\pip\_vendor\requests\adapters.py", line 32
7, in send
    timeout=timeout
  File "C:\Python34\lib\site-packages\pip\_vendor\requests\packages\urllib3\conn
ectionpool.py", line 493, in urlopen
    body=body, headers=headers)
  File "C:\Python34\lib\site-packages\pip\_vendor\requests\packages\urllib3\conn
ectionpool.py", line 291, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "C:\Python34\lib\http\client.py", line 1090, in request
    self._send_request(method, url, body, headers)
  File "C:\Python34\lib\http\client.py", line 1128, in _send_request
    self.endheaders(body)
  File "C:\Python34\lib\http\client.py", line 1086, in endheaders
    self._send_output(message_body)
  File "C:\Python34\lib\http\client.py", line 924, in _send_output
    self.send(msg)
  File "C:\Python34\lib\http\client.py", line 859, in send
    self.connect()
  File "C:\Python34\lib\site-packages\pip\_vendor\requests\packages\urllib3\conn
ection.py", line 163, in connect
    (self.host, self.timeout))
pip._vendor.requests.packages.urllib3.exceptions.ConnectTimeoutError: (<pip._ven
dor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x020
37FD0>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Python34\lib\site-packages\pip\basecommand.py", line 122, in main
    status = self.run(options, args)
  File "C:\Python34\lib\site-packages\pip\commands\install.py", line 278, in run

    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundl
e=self.bundle)
  File "C:\Python34\lib\site-packages\pip\req.py", line 1197, in prepare_files
    do_download,
  File "C:\Python34\lib\site-packages\pip\req.py", line 1375, in unpack_url
    self.session,
  File "C:\Python34\lib\site-packages\pip\download.py", line 546, in unpack_http
_url
    resp = session.get(target_url, stream=True)
  File "C:\Python34\lib\site-packages\pip\_vendor\requests\sessions.py", line 46
8, in get
    return self.request('GET', url, **kwargs)
  File "C:\Python34\lib\site-packages\pip\download.py", line 237, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "C:\Python34\lib\site-packages\pip\_vendor\requests\sessions.py", line 45
6, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Python34\lib\site-packages\pip\_vendor\requests\sessions.py", line 55
9, in send
    r = adapter.send(request, **kwargs)
  File "C:\Python34\lib\site-packages\pip\_vendor\requests\adapters.py", line 38
4, in send
    raise Timeout(e, request=request)
pip._vendor.requests.exceptions.Timeout: (<pip._vendor.requests.packages.urllib3
.connection.VerifiedHTTPSConnection object at 0x02037FD0>, 'Connection to files.
pythonhosted.org timed out. (connect timeout=15)')

Storing debug log for failure in C:\Documents and Settings\Administrator\pip\pip



小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 2019-12-9 14:08:33 From FishC Mobile | 显示全部楼层
此帖仅作者可见
小甲鱼最新课程 -> https://ilovefishc.com

使用道具 举报

 楼主| 发表于 2019-12-9 14:55:35 | 显示全部楼层
此帖仅作者可见
小甲鱼最新课程 -> https://ilovefishc.com

使用道具 举报

 楼主| 发表于 2019-12-9 15:05:21 | 显示全部楼层
此帖仅作者可见
小甲鱼最新课程 -> https://ilovefishc.com

使用道具 举报

 楼主| 发表于 2019-12-9 15:07:51 | 显示全部楼层
此帖仅作者可见
小甲鱼最新课程 -> https://ilovefishc.com

使用道具 举报

 楼主| 发表于 2019-12-9 15:08:57 | 显示全部楼层
此帖仅作者可见
小甲鱼最新课程 -> https://ilovefishc.com

使用道具 举报

发表于 2019-12-9 15:33:42 From FishC Mobile | 显示全部楼层
此帖仅作者可见
小甲鱼最新课程 -> https://ilovefishc.com

使用道具 举报

发表于 2019-12-9 20:48:50 | 显示全部楼层
此帖仅作者可见
小甲鱼最新课程 -> https://ilovefishc.com

使用道具 举报

发表于 2019-12-9 21:23:01 | 显示全部楼层
此帖仅作者可见
小甲鱼最新课程 -> https://ilovefishc.com

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2026-1-21 07:42

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表