[Numpy-discussion] When building with --prefix /usr/local numpy not detected by python
Mon Jun 1 16:12:56 CDT 2009
On Mon, Jun 1, 2009 at 15:37, Chris Colbert <firstname.lastname@example.org> 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
> 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.
"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
More information about the Numpy-discussion