[Distutils] Using setuptools without root permissions

Raul Murciano raul at murciano.net
Thu Oct 13 21:38:21 CEST 2005

Hi all,
I'm trying to install TurboGears by using EasyInstall [1] on a FreeBSD 
shared host (Textdrive). I have not root permissions, so following 
PEAK's instructions [2] I've executed Ian Bicking's non_root_python.py 

The script seems to work perfectly, it outputs no errors and:
   Setuptools version 0.6a5 or greater has been installed.
   (Run "ez_setup.py -U setuptools" to reinstall or upgrade.)

I've checked that ~/bin/ contains python (my custom python) and 
easy_install executables. Now I try:
 >>> import setuptools
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
ImportError: No module named setuptools

I've checked the path:
 >>> import sys
 >>> sys.path
['', '/home/murciano/lib', '/home/murciano/lib/python2.4/site-packages', 
'/home/murciano/lib/python24.zip', '/home/murciano/lib/python2.4', 

And if I insert the setuptools-egg path by hand things works:
 >>>import setuptools

I have the same problem with pkg_resources, so I can't execute 
TurboGears properly. Any help/idea/suggestion would be welcome :-)

	Raul Murciano

[1] TurboGears installation for *nix:

[2] PEAK EasyInstall non-root installation:

More information about the Distutils-SIG mailing list