安装命令
1sudo pacman -S python-pip
使用pip3安装一个软件试试:
1pip3 install you-get2
3### 安装完成后有以下提示4# Installing collected packages: you-get5# WARNING: The script you-get is installed in '/home/cirry/.local/bin' which is not on PATH.6# Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.7# Successfully installed you-get-0.4.1620
在.bashrc
和.zshrc
中添加如下两行代码:
1# python pip install package2export PATH=~/.local/bin:$PATH
重新加载一下配置文件:
1. ~/.bashrc2. ~/.zshrc
安装成功后使用一下:
1 you-get -i https://www.youtube.com/watch?v=sLETZzOieoA