Python内置pip

来源:互联网 发布:网络配线架有什么用 编辑:程序博客网 时间:2024/06/07 06:10

Python 2.7.9+ and 3.4+ 安装模块不再需要单独安装 pip ,python 已经内置了 pip 安装工具。 
安装方法:

  • cmd 打开命令行工具
  • python -m install modual_name

以 requests 模块为例,安装命令为:

python -m install requests