Locating python

andrew cooke andrew at acooke.org
Tue Feb 3 17:36:36 EST 2009


sorry, you are using easy_install, so

  sudo easy_install ....

instead of what i said a moment ago.  the important thing is to use
"sudo".

andrew

On Feb 3, 7:30 pm, andrew cooke <and... at acooke.org> wrote:
> 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
>
> do
>
>   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,
> andrew
>
> 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