我已经在 Windows 桌面上安装了 Python 3.4.1
,但我没有 pip。我正在尝试从 https://www.reportlab.com/reportlabplus/installation/
安装模块,它显示 pip install rlextra -i https://www.reportlab.com/pypi/
。然后如果我执行报告的命令,它会显示以下内容
C:\Python34>pip install rlextra -i https://www.reportlab.com/pypi/
'pip' is not recognized as an internal or external command,
operable program or batch file.
编辑:这个问题不是关于如何安装 pip 的,而是关于为什么需要 pip 的?
原文由 Malatesh 发布,翻译遵循 CC BY-SA 4.0 许可协议
pip 命令是用于安装和管理 Python 包的工具,例如 Python 包索引中的包。
它是 easy_install 的替代品。
https://github.com/pypa/pip
使用 PIP,您可以安装模块。它还将安装依赖项。