当前位置:网站首页>Record of problems caused by PIP upgrade damage
Record of problems caused by PIP upgrade damage
2022-07-29 07:46:00 【Happy DAGO】
upgrade pip after , Something unusual happened , As a result, no pip Related operations . I found a lot of tutorials on the Internet , All invalid , Later, after repeated exploration , Problem solved .
Try to plan 1:
The running prompt does not pip modular
PS C:\Users\86176> pip install --upgrade pip
Traceback (most recent call last):
File "d:\program files\python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "d:\program files\python38\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "D:\Program Files\Python38\Scripts\pip.exe\__main__.py", line 4, in <module>
ModuleNotFoundError: No module named 'pip'
terms of settlement
perform python -m ensurepip,python -m pip install --upgrade pip that will do
PS C:\Users\86176> python -m ensurepip
Looking in links: c:\Users\86176\AppData\Local\Temp\tmpjplwmax8
Requirement already satisfied: setuptools in d:\program files\python38\lib\site-packages (49.2.1)
Processing c:\users\86176\appdata\local\temp\tmpjplwmax8\pip-20.2.1-py2.py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-20.2.1
PS C:\Users\86176>
PS C:\Users\86176> python -m pip install --upgrade pip
Looking in indexes: https://pypi.douban.com/simple
Collecting pip
Using cached https://pypi.doubanio.com/packages/7c/02/9ab8b431aca1b46fcc1ac830a5870a28a12ba1abfa681904b1d2da876a86/pip-21.2.1-py3-none-any.whl (1.6 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.2.1
Uninstalling pip-20.2.1:
Successfully uninstalled pip-20.2.1
Successfully installed pip-21.2.1
test
PS C:\Users\86176> pip list
programme 1 Invalid validation
programme 2
Find the previous installation OK Version of , Get into D:\Python\Lib\site-packages\ route , find pip and pip-22.1.2.dist-info Catalog , Copy it to the corresponding path , Problem solving .
边栏推荐
- Ionicons icon Encyclopedia
- Meizhi optoelectronics' IPO was terminated: annual revenue of 926million he Xiangjian was the actual controller
- 监听页面滚动位置定位底部按钮(包含页面初始化定位不对鼠标滑动生效的解决方案)
- Starting process of raspberry pie
- 小D的刺绣
- ef core 读取text类型慢_ef core读取大字符串字段慢
- 强连通分量
- Solve the problem that CSDN cannot publish blog due to unknown copyright
- Write some DP
- Write some DP
猜你喜欢
![【暑期每日一题】洛谷 P7760 [COCI2016-2017#5] Tuna](/img/9a/f857538c574fb54bc1accb737d7aec.png)
【暑期每日一题】洛谷 P7760 [COCI2016-2017#5] Tuna

Excellent urban design ~ good! Design # visualization radio station will be broadcast soon

Android面试题 | 怎么写一个又好又快的日志库?

207.课程表

cs61abc分享会(六)程序的输入输出详解 - 标准输入输出,文件,设备,EOF,命令行参数
功能自动化测试实施的原则以及方法有哪些?

【MYSQL】-【子查询】

Go 事,如何成为一个Gopher ,并在7天找到 Go 语言相关工作,第1篇

零数科技深度参与信通院隐私计算金融场景标准制定

mysql 使用 DATE_FORMAT(date,'%Y-%m')
随机推荐
Measured waveform of boot capacitor short circuit and open circuit of buck circuit
[summer daily question] Luogu P6500 [coci2010-2011 3] zbroj
Joseph Ring problem
Write some DP
The smallest positive number that a subset of an array cannot accumulate
写点dp
330. Complete the array as required
Basic introduction to pod
梳理市面上的2大NFT定价范式和4种解决方案
FLink CDC 的mysql connector中,mysql的字段是varbinary, 官方
Zero technology is deeply involved in the development of privacy computing financial scenario standards of the ICT Institute
监听页面滚动位置定位底部按钮(包含页面初始化定位不对鼠标滑动生效的解决方案)
State machine DP (simple version)
技术分享| 快对讲综合调度系统
EF core reading text type is slow_ EF core is slow to read large string fields
[summer daily question] Luogu p6336 [coci2007-2008 2] bijele
NLP introduction + practice: Chapter 5: using the API in pytorch to realize linear regression
SEGGER 的硬件异常 分析
【无标题】格式保存
Write some DP