easy_install installed in the user dir tries to install stuff in the global python when --user is not used
If I do the following command to install to my global site-packages directory:
easy_install -U distribute
I get an error saying that I don't have permission to install (as I forgot the sudo command). However, after that point in time, easy_install doesn't seem to work. If I run it, I get this traceback:
Traceback (most recent call last): File "/Users/jason/.local/bin/easy_install", line 8, in <module> load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')() File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py", line 271, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py", line 2173, in load_entry_point raise ImportError("Entry point %r not found" % ((group,name),)) ImportError: Entry point ('console_scripts', 'easy_install') not found
The only way I've been able to resolve this issue is to download the source distribution and do a sudo python setup.py install.