Martin Skøtt wrote:
> Could it be there is something missing in
> /usr/local/lib/python2.4/site-packages ? Currently it just contains a
> bunch of .egg files and .edd directories.

As Kevin already pointed out, you're missing the .pth files.  You need
to include that directory in the --site-dirs option to easy_install.
See:


http://peak.telecommunity.com/DevCenter/EasyInstall#command-line-options

under the --site-dirs option for an explanation of how to set up an
alternate installation location.  If you follow those directions and
then install again, you should end up with two more files:
setuptools.pth and easy_install.pth, and Python should actually
recognize the directory then.

Basically those are the instructions for installing in a non-standard
location when you are root and can therefore do those setup steps in
your main Python installation.  Just substitute
/usr/local/lib/python2.4/site-packages for the ~/lib/python2.3 example
directory in the instructions and you should be good to go.  Also, if
you want the /usr/local directory to be the default installation
location so you don't have to use -d all the time, you can also add:

    [install]
    install_lib = /usr/local/lib/python2.4/site-packages

to the distutils.cfg file as described in the instructions, in addition
to the site_dirs setting.

Reply via email to