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

Chris Colbert sccolbert at gmail.com
Mon Jun 1 16:37:54 EDT 2009


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? I thought
that would be done during the install command

Cheers!

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090601/890028ee/attachment.html>


More information about the NumPy-Discussion mailing list