[小技巧]mac/ubuntu安装pip/python

date
Oct 28, 2022
slug
tip-mac-install-pip-python
status
Published
summary
小技巧
tags
tip
type
Post
notion image

Mac

python3 -m pip install --upgrade setuptools

# 升级
python3 -m pip install --upgrade pip

Ubuntu

apt update -y
apt install -y python3-pip
pip3 --version 
pip --version

# self upgrade
pip3 install --upgrade pip3
pip3 install --upgrade pip


PIP PIP3用法

# install & upgrade others
pip3 install <package_name>
pip3 install <package_name> --upgrade

# list
pip3 list

# uninstall
pip3 uninstall <package_name>
 
 

© Ying Bun 2021 - 2024