python中的pip是什么

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/40354399/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-19 23:26:38  来源:igfitidea点击:

what is pip in python

pythonpython-3.xmodule

提问by malatesh

I am beginner in python, trying to install module I know to install module from setup.py. but some modules needs to use pip to install. I don't know what is pip ?

我是 python 初学者,试图安装我知道从 setup.py 安装模块的模块。但是有些模块需要使用pip来安装。我不知道 pip 是什么?

I have installed Python 3.4.1in windows desktop, I am trying to install module from https://www.reportlab.com/reportlabplus/installation/it shows pip install rlextra -i https://www.reportlab.com/pypi/

我已经安装 Python 3.4.1在 Windows 桌面上,我正在尝试从中安装模块https://www.reportlab.com/reportlabplus/installation/显示pip install rlextra -i https://www.reportlab.com/pypi/

I don't have pip

我没有点子

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.

Please advice

请指教

Edit: This questoin not about how to install pip instead why you need pip ?

编辑:这个问题不是关于如何安装 pip 而是为什么你需要 pip ?

Thanks

谢谢

采纳答案by backtrack

The pip command is a tool for installing and managing Python packages, such as those found in the Python Package Index.

pip 命令是用于安装和管理 Python 包的工具,例如在 Python 包索引中找到的包。

It's a replacement for easy_install.

它是easy_install 的替代品。

https://github.com/pypa/pip

https://github.com/pypa/pip

Using PIP, You can install the module. It will install the dependency also.

使用PIP,您可以安装模块。它也会安装依赖项。

回答by Himanshu dua

Pip is a package management system used to install and manage software packages written in Python. You have to download PIP.then you can use pip to install packages. download pip from here: https://pypi.python.org/pypi/pip

Pip 是一个包管理系统,用于安装和管理用 Python 编写的软件包。您必须下载 PIP。然后您可以使用 pip 安装软件包。从这里下载 pip:https: //pypi.python.org/pypi/pip

回答by UberStuper

I can't add a comment, so take a look at this link

我无法添加评论,请查看此链接

How do I install pip on Windows?

如何在 Windows 上安装 pip?

you can think of pip as a "package" manager, you use it to install certain libraries or packages to your python installation.

您可以将 pip 视为“包”管理器,您可以使用它来将某些库或包安装到您的 Python 安装中。