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