Loading

ArchLinux安装pip3

安装命令

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
posted @ 2023-09-22 16:49  菜小牛  阅读(222)  评论(0编辑  收藏  举报