macos 安装 pip_在MacOS或OSx上安装pip

本文介绍了pip作为Python包管理器的作用,并详细说明了在macOS系统上安装pip的步骤,同时提及了在Ubuntu和CentOS中安装pip的方法。
摘要由CSDN通过智能技术生成

macos 安装 pip

什么是画中画? (What is a PIP?)

pip is a tool for installing and managing the python packages. Like Python, pip can be installed on all operating systems.

pip是用于安装和管理python软件包的工具。 像Python一样, pip可以安装在所有操作系统上。

Python:安装pip (Python: install pip)

To install the latest version of pip, run the below command in MacOS,

安装最新版本的pip ,请在MacOS中运行以下命令,

    $ sudo easy_install pip
    $ sudo pip install --upgrade pip

To install the pip in the Ubuntu, use the apt-get manager

在Ubuntu中安装pip ,请使用apt-get管理器

    $ sudo apt-get update
    $ sudo apt-get install python-pip
    $ sudo pip install --upgrade pip

To install the pip in Centos, use yum manager

在Centos中安装点子 ,请使用yum manager

    $ sudo yum update
    $ sudo yum install epel-release
    $ sudo yum install python-pip
    # version>= Centos7
    $ sudo pip install --upgrade pip

Note: only Centos7 and above supports python3.

注意:仅Centos7及更高版本支持python3。

翻译自: https://www.includehelp.com/python/install-pip-on-macos-or-osx.aspx

macos 安装 pip

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值