Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

python

linux

pip

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.

like image 660
3jaz Avatar asked Dec 18 '14 23:12

3jaz


People also ask

How do I force reinstall pip?

To force re-download use the --no-cache-dir flag. Note that this command also reinstalls all dependencies. Add --no-deps to avoid that, as suggested in Finn's answer below.


2 Answers

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.

like image 187
Imanol Luengo Avatar answered Oct 06 '22 01:10

Imanol Luengo


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 
like image 39
Xuan Avatar answered Oct 05 '22 23:10

Xuan