Locating python

David Sevilla sevillad at gmail.com
Tue Feb 3 23:35:31 CET 2009

On Feb 3, 11: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*

I am quite new to Linux, and thought that by using yast2 there would
be no user problems (I am asked for the root password). I will sudo it
to see if it solves the problem.



More information about the Python-list mailing list