Question

Python's Easy Install ain't that easy. The instructions from python.org offer a command which pipes in the python version into the installer. Only after installing did I learn about easy_install and "Multiple Python Versions". I thought I was covered because according to this page easy_install is supposed to support multiple versions of python with the command easy_install-x.y

Looking in the bin directory I have /usr/bin/easy_install-3.3 which works for python3.3 and /usr/bin/easy_install which works for...3.3! Where's easy_install-2.7? Clearly it wasn't installed because the other page offers the easy install instructions to 'downloads the appropriate version' for your python install. The two instructions contradict.

So what do I do now?

Was it helpful?

Solution

My guess is your environment's "python" command launched python3.x. If so, easy_install is installed into the python version you selected, so when you did this:

wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python

you probably should have specified python2.7 like this:

wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python2.7
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top