apt-smart
sudo apt update
sudo apt install python-pip -y # 不询问直接安装python-pip
pip install --user apt-smart # --user参数表示安装到per user site-packages directory
echo "export PATH=\$(python -c 'import site; print(site.USER_BASE + \"/bin\")'):\$PATH" >> ~/.bashrc
source ~/.bashrc # 设置per user site-packages directory到PATH