[Numpy-discussion] When building with --prefix /usr/local numpy not detected by python

Chris Colbert sccolbert@gmail....
Mon Jun 1 16:35:43 CDT 2009


thanks Robert,

the directory indeed wasnt in the $PATH variable.

Cheers,

Chris

On Mon, Jun 1, 2009 at 5:12 PM, Robert Kern <robert.kern@gmail.com> wrote:

> On Mon, Jun 1, 2009 at 15:37, Chris Colbert <sccolbert@gmail.com> wrote:
> > On 64-bit ubuntu 9.04 and Python 2.6, I built numpy from source against
> > atlas and lapack (everything 64bit).
> >
> > To install, I used:   sudo python setup.py install --prefix /usr/local
> >
> > but then python doesnt find the numpy module, even though it exists in
> > /usr/local/lib/python2.6/site-packages
> >
> >
> > Do I need to add a .pth file somewhere to tell python about numpy?
>
> No. Double-check that /usr/local/lib/python2.6/site-packages/ is on
> your sys.path. Ubuntu used to do this, but I don't know if they've
> changed policy in 9.04.
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless
> enigma that is made terrible by our own mad attempt to interpret it as
> though it had an underlying truth."
>  -- Umberto Eco
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090601/a79e9864/attachment.html 


More information about the Numpy-discussion mailing list