How do I install pip on arch linux? [closed]

2020-05-21 08:28发布

I untarred this: python-pip-1.5.6-2-any.pkg.tar.xz

tar -xf python-pip-1.5.6-2-any.pkg.tar.xz

and it made a usr folder with subfolders bin, lib, and share

inside bin is pip, pip3, and pip3.4

How the heck am I supposed to run makepkg?

I don't know how to install this.

标签: python linux pip
2条回答
Root(大扎)
2楼-- · 2020-05-21 08:43

pacman -S python-pip should also work.

The current version in the repository is 1.5.6-2

NOTE: for python 2.7 you would need to install python2-pip instead of python-pip.

查看更多
ゆ 、 Hurt°
3楼-- · 2020-05-21 09:01

Does the instruction here work for you? https://pip.pypa.io/en/latest/installing.html

so basically:

curl -O https://bootstrap.pypa.io/get-pip.py
python get-pip.py
查看更多
登录 后发表回答