ModuleNotFoundError:没有名为'pip'的模块

问题描述 投票:1回答:1

在windows7中安装了python-3.6.5-embed-amd64.zip(无权执行exe文件)。它没有pip,所以通过运行get-pip.py安装了pip,它下载了Lib和Scripts文件夹。但仍然当我在命令提示符下运行pip或pip3时,我仍然得到ModuleNotFoundError: No module named 'pip'。我在命令提示符下为PYTHON,脚本和Lib文件夹设置PATH。 PATH=%PATH%;Python folder帮助我们理解这个问题。

详细错误是:

Traceback (most recent call last): File "runpy.py", line 193, in run_module_as_main File "runpy.py", line 85, in _run_code File "c:\Users\1561024\Raja\softwares\python-3.6.5-embed-amd64\Scripts\pip.exe __main_.py", line 5, in <module> ModuleNotFoundError: No module named 'pip'
python-3.x
1个回答
0
投票

你试过跑步了吗:

py -3.6 -m pip install <whatever you need here>

没有箭头括号

© www.soinside.com 2019 - 2024. All rights reserved.