当前位置:网站首页>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 .
边栏推荐
- 黑盒测试常见错误类型说明及解决方法有哪些?
- String class
- [daily question in summer] Luogu p6408 [coci2008-2009 3] pet
- Space shooting Lesson 17: game over (end)
- Multi thread shopping
- 梳理市面上的2大NFT定价范式和4种解决方案
- 【暑期每日一题】洛谷 P6408 [COCI2008-2009#3] PET
- Actual measurement of boot and pH pins of buck circuit
- Zip gzip tar compression Advanced Edition
- Solve the problem that CSDN cannot publish blog due to unknown copyright
猜你喜欢

Amaze UI icon query

2022年深圳杯A题破除“尖叫效应”与“回声室效应”走出“信息茧房”

Chaos and future of domestic digital collections

Monitor the bottom button of page scrolling position positioning (including the solution that page initialization positioning does not take effect on mouse sliding)

MySQL 45 | 08 is the transaction isolated or not?

Segger's hardware anomaly analysis

【深度学习】数据准备-pytorch自定义图像分割类数据集加载

【MYSQL】-【子查询】

SEGGER 的硬件异常 分析
![[summer daily question] Luogu p7760 [coci2016-2017 5] tuna](/img/9a/f857538c574fb54bc1accb737d7aec.png)
[summer daily question] Luogu p7760 [coci2016-2017 5] tuna
随机推荐
功能自动化测试实施的原则以及方法有哪些?
Prometheus and grafana
LANDSCAPE
State machine DP (simple version)
Dilworth theorem
Log4qt memory leak, use of heob memory detection tool
写点dp
C# 之 volatile关键字解析
小D的刺绣
技术分享| 快对讲综合调度系统
Measured waveform of boot capacitor short circuit and open circuit of buck circuit
MySQL 45讲 | 08 事务到底是隔离的还是不隔离的?
Space shooting Lesson 17: game over (end)
Sqlmap(SQL注入自动化工具)
Meizhi optoelectronics' IPO was terminated: annual revenue of 926million he Xiangjian was the actual controller
【暑期每日一题】洛谷 P1601 A+B Problem(高精)
STM32 operation w25q256 w25q16 SPI flash
【暑期每日一题】洛谷 P6500 [COCI2010-2011#3] ZBROJ
Popular cow G
【FPGA教程案例42】图像案例2——通过verilog实现图像二值化处理,通过MATLAB进行辅助验证