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