0

The following commands are not working:

sudo pip install unicodecsv

I get

raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: pip==1.4.1

with

sudo apt-get install python-pip

I get

sudo: apt-get: command not found

I downloaded the package from here. How do I install from the download?

10
  • when you say it's not working... what doesn't work about it? Apr 26, 2015 at 1:06
  • sorry. I added the errors I get. Apr 26, 2015 at 1:10
  • Why is this tagged as iOS and then there is the apt-get command? Isn't it from Debian based linux distro's? Apr 26, 2015 at 1:15
  • @ODiogoSilva I have no idea. I'm just a noob trying to learn. Apr 26, 2015 at 1:15
  • You seem to have pip installed, just not the right version for the module you're trying to install. Do you have easy_install installed as well? Apr 26, 2015 at 1:25

1 Answer 1

1

Install the specific pip version required for the package:

sudo easy_install pip==1.4.1

And then repeat the pip install command:

sudo pip install unicodecsv
1
  • 1
    easy-install should be easy_install
    – charlie
    Sep 18, 2017 at 12:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.