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

news/2025/3/13 20:03:42/

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.


http://www.ppmy.cn/news/636084.html

相关文章

linux sh m,linux – ./configure:/ bin / sh ^ M:错误的解释...

参见英文答案 > Are shell scripts sensitive to encoding and line endings?????????????????????????????????????5个 我一直在尝试在我的12系统上安装lpng142.对我来说似乎是一个问题.我收到这个错误 [rootlocalhost lpng142]# ./c…

MySQL从m到n的所有偶数之和_把2N个球放到M个盒子里(Ngt;=M)使得各盒中的球数为偶数...

把2N个球放到M个盒子里(NM)使得各盒中的球数为偶数 By:Luo Weifeng 2011-3-16 昨天一MM(老同桌)问了我一简单的算法设计题。题目就这个题目,算是很简单了,不过越是简单的事情越考验一个人的东西。 To iterate is human, torecurse divine L. …

linux sh m,linux - ./configure:/ bin / sh ^ M:错误的interp

linux - ./configure:/ bin / sh ^ M:错误的interp 这个问题在这里已有答案: shell脚本是否对编码和行结尾敏感? 2个答案 我一直在尝试在我的12系统上安装lpng142。 对我来说似乎是一个问题。 我收到这个…

620集成显卡和mx250,独显有必要吗?英特尔UHD620核显对比MX150性能测试

去年英特尔发布了第8代酷睿Kaby Lake Refresh低压处理器,该系列的主流CPU全部升级到了4核8线程的配置,正常情况下性能较上一代的低压处理器有了显著的提升,这也导致现在市面上绝大多数轻薄本、家用本甚至部分商用本都采用了8代酷睿低压处理器,在CPU性能相当的情况下,这些笔…

Ubuntu16.04 CUDA10 + cuDNN7安装记录

正好赶上给新系统安装CUDA,就详细的记录一下安装过程,我N次安装后的理解,以及一些问题。 首先,庞贝船长的这篇文章真的写的很详细,但是由于他的链接现在挂了,因此我将他的大部分操作说明拷贝了下来&#x…

python 视频转字符视频 bate

只需要在最后一行括号填入视频路径即可 import os from PIL import Image, ImageDraw, ImageFont import cv2 import time from tqdm import tqdm import threading if __name__ __main__:# path rimg\sportball\0.jpgdef cv2_pit_imgchar(path,save_path):def create_i…

Redis7【⑧ Redis集群(cluster)】

Redis集群 Redis 集群是 Redis 数据库的分布式解决方案,它可以将数据分散存储在多个节点上,以支持大规模数据存储和高并发访问。 Redis 集群使用的是基于槽的分区策略,即将数据分成固定数量的槽,每个槽由一个主节点和多个从节点…

更新三转的skills.txt

保存在 \tables\skills.txt 下 请注意一定要utf8编码。 1 NV_BASIC 基本技能 2 SM_SWORD 单手剑使用熟练度 3 SM_TWOHAND 双手剑使用熟练度 4 SM_RECOVERY 快速回复 5 SM_BASH 狂击 6 SM_PROVOKE 挑衅 7 SM_MAGNUM 怒爆 8 SM_ENDURE 霸体 9 MG_SRECOVERY 禅心 10 MG_SIGHT 火狩…