重新激活一下就ok了
python -m ensurepip
C:\Users\86150\Desktop\xxx>pip3 -V
Traceback (most recent call last):
File "D:\python\python3\lib\runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "D:\python\python3\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "D:\python\python3\Scripts\pip3.exe\__main__.py", line 4, in <module>
ModuleNotFoundError: No module named 'pip'
C:\Users\86150\Desktop\xxx>python3 -m ensurepip
Looking in links: c:\Users\86150\AppData\Local\Temp\tmpzy1nkz0c
Requirement already satisfied: setuptools in d:\python\python3\lib\site-packages (41.2.0)
Collecting pip
Installing collected packages: pip
Successfully installed pip-19.2.3
C:\Users\86150\Desktop\xxx>pip -V
pip 20.3.4 from d:\python\python2\lib\site-packages\pip (python 2.7)
C:\Users\86150\Desktop\xxx>pip3 -V
pip 19.2.3 from d:\python\python3\lib\site-packages\pip (python 3.8)