Locating python

andrew cooke andrew at acooke.org
Tue Feb 3 23:30:26 CET 2009

the exact details of what you are reporting seem a bit odd, but i have
seen a similar error because i have tried to use my own account to
install the package, instead of using root.

what i believe happens is that easy_install first tries to create the
"test" file, and then checks it is there.  if it is not there, you get
an error.  normally the error explains that you need to run as root,
but i assume in your case it doesn't - that seems odd, but it seemed
worth mentioning anyway.

so if you have not done so, instead of

  python setup.py install


  sudo python setup.py install

more generally, i have used opensuse 11.0 and 11.1, and generally
things work just fine, so i would check you are following all the
instructions correctly.

good luck,

On Feb 3, 6:24 pm, David Sevilla <sevil... at gmail.com> wrote:
> [...]
> [Errno 2] No such file or directory: '/usr/local/lib/python2.5/site-
> packages/test-easy-install-3728.pth'
> The installation directory you specified (via --install-dir, --prefix,
> or the distutils default setting) was:
>     /usr/local/lib/python2.5/site-packages/
> This directory does not currently exist. [...]
> From what I have gathered by reading here and there, it seems that the
> actual path for site-packages is not the place where it is being
> looked for. Sure enough, I have /usr/local/lib/python2.5/site-
> packages/ . What worries me is that there is no file called test*

More information about the Python-list mailing list