The server I'm coding on has a Python 2.4 binary available in /usr/bin/
and a Python 3.0 binary available in $HOME/bin/
. I need to install urllib3
for use with Python 3, but easy_install
of course uses the python available system-wide. easy_install
installed urllib3
just fine for Python 2.4. I tried to run it with Python 3 but it complains about missing modules:
$ ~/bin/python3.0 /usr/bin/easy_install --prefix=/home/web/local urllib3
Traceback (most recent call last):
File "/usr/bin/easy_install", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
How might I work around this? Note that I did install pip
with easy_install
but pip
is missing too many dependencies, so I'm stuck with easy_install
.