Python 中的 pip 是什么? [英] What is pip in Python?

查看:50
本文介绍了Python 中的 pip 是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在 Windows 桌面上安装了 Python 3.4.1,但是我没有 pip.我正在尝试从 https://www.reportlab.com/reportlabplus/installation/ 安装一个模块,它显示 pip install rlextra -i https://www.reportlab.com/pypi/.然后如果我执行报告的命令,它会显示以下内容

I have installed Python 3.4.1 in windows desktop, but i don't have pip. I am trying to install a module from https://www.reportlab.com/reportlabplus/installation/ it shows pip install rlextra -i https://www.reportlab.com/pypi/. And then if I execute the reported command, it shows the following

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 ?

This question is not about how to install pip, instead why you need pip ?

推荐答案

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

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

它是 easy_install 的替代品.

It's a replacement for easy_install.

https://github.com/pypa/pip

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

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

这篇关于Python 中的 pip 是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆