Skip to content

Python

安装

MacOS

安装

bash
pip3 install --upgrade pip
pip3 install --upgrade setuptools
pip3 install --upgrade packaging
pip3 install setuptools
pip3 install packaging

python3 -m pip upgrade pip
python3 -m pip install setuptools
python3 -m pip install packaging

Windows

安装

bash
# 更新PIP
python -m pip install -U pip
# 安装依赖
python -m pip install setuptools
python -m pip install packaging 
# 或

RHEL

安装

bash
sudo dnf install python3