python m pip install upgrade_解决python -m pip install --upgrade pip 升级不成功问题

You are using pip version 9.0.1, however version 19.1.1 isavailable.

You should consider upgrading via the'python -m pip install --upgrade pip'command.

PS D:\安装\Python36-32\Lib>PS D:\安装\Python36-32\Lib>PS D:\安装\Python36-32\Lib> python -m pip install --upgrade pip

Collecting pip

Downloading https://files.pythonhosted.org/packages/5c/e0/be401c003291b56efc55aeba6a80ab790d3d4cece2778288d65323009420/pip-19.1.1-py2.py3-none-any.whl (1.4MB)

3% |█ | 40kB 1.4kB/s eta 0:16:01Exception:

Traceback (most recent call last):

File"D:\安装\Python36-32\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py", line 232, in_error_catcheryieldFile"D:\安装\Python36-32\lib\site-packages\pip\_vendor\requests\packages\urllib3\response.py", line 314, inread

data=self._fp.read(amt)

File"D:\安装\Python36-32\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py", line 60, inread

data=self.__fp.read(amt)

File"D:\安装\Python36-32\Lib\http\client.py", line 449, inread

n=self.readinto(b)

File"D:\安装\Python36-32\Lib\http\client.py", line 493, inreadinto

n=self.fp.readinto(b)

File"D:\安装\Python36-32\Lib\socket.py", line 586, inreadintoreturnself._sock.recv_into(b)

File"D:\安装\Python36-32\Lib\ssl.py", line 1009, inrecv_intoreturnself.read(nbytes, buffer)

File"D:\安装\Python36-32\Lib\ssl.py", line 871, inreadreturnself._sslobj.read(len, buffer)

File"D:\安装\Python36-32\Lib\ssl.py", line 631, inread

v=self._sslobj.read(len, buffer)

socket.timeout: The read operation timedoutDuring handling of the above exception, another exception occurred:

Traceback (most recent call last):

File"D:\安装\Python36-32\lib\site-packages\pip\basecommand.py", line 215, inmain

status=self.run(options, args)

File"D:\安装\Python36-32\lib\site-packages\pip\commands\install.py", line 324, inrun

requirement_set.prepare_files(finder)

File"D:\安装\Python36-32\lib\site-packages\pip\req\req_set.py", line 380, inprepare_files

ignore_dependencies=self.ignore_dependencies))

File"D:\安装\Python36-32\lib\site-packages\pip\req\req_set.py", line 620, in_prepare_file

session=self.session, hashes=hashes)

File"D:\安装\Python36-32\lib\site-packages\pip\download.py", line 821, inunpack_url

hashes=hashes

File"D:\安装\Python36-32\lib\site-packages\pip\download.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值