此问题已在此处有答案:
ModuleNotFoundError: No module named 'pip' on Windows [duplicate](6个回答)
关闭2天前.
C:\\Users\\HP\>pip
Traceback (most recent call last):
File "C:\\lib\\runpy.py", line 196, in \_run_module_as_main
return \_run_code(code, main_globals, None,
File "C:\\lib\\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\\Scripts\\pip.exe_main_.py", line 4, in \<module\>
ModuleNotFoundError: No module named 'pip'
你能告诉我如何在Windows 11上解决这个问题吗?
1条答案
按热度按时间xjreopfe1#
您的Python发行版没有预装pip。请尝试使用以下方法安装pip:https://pip.pypa.io/en/stable/installation/
例如,在Windows上,您可以运行