1

I need help for the installtion of pip.

Errors were encountered while processing:
 python-colorama
 python-distlib
 python-ndg-httpsclient
 python-urllib3
 python-requests
 python-setuptools
 python-pip
 python-wheel
E: Sub-process /usr/bin/dpkg returned an error code (1)

In addition:

$ pip -V
bash: /usr/bin/pip: /usr/bin/python: bad interpreter: Permission denied
3
  • I suppressed your Django tag because it seems not to be related to the content of yr post. Please edit yr question to include the step you used to install pip. Also mention the version of yr Ubuntu system.
    – Cbhihe
    Feb 29, 2016 at 7:39
  • How did you try yo install it? What's the full output of the command(s)? Also, you tagged the question with python3, but the package manager output only mentions python-pip. What's the output of sudo apt-get install -f python-pip (replace with python3-pip if you prefer)? Feb 29, 2016 at 8:43
  • 1
    Possible duplicate of How to install pip for python 3 in ubuntu 12.04 LTS Feb 29, 2016 at 8:44

1 Answer 1

0

pip is installed when you have either python2.x or anaconda installed. You can install anaconda from this link

Once you have got the installer run it like this

bash ~/Downloads/Anaconda3-2.4.0-Linux-x86_64.sh

After installation pip is also installed

which pip
/opt/anaconda2/bin/pip
1
  • Yes, but I would favor @DavidFoerster's install path. It's lighter on the OS in case Anaconda is not specifically needed . The result of which pip in David's case would be /usr/bin/pip.
    – Cbhihe
    Feb 29, 2016 at 9:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .