[Numpy-discussion] Numpy installation

Amit Itagi aitagi at gmail.com
Tue Apr 1 17:03:18 EDT 2008


Robert,

I followed the recommended steps. Now I have "numpy" and "
numpy-1.0.4-py2.5.egg-info" in
Python-2.5.2/lib/python2.5/site-packages. However, I am not able to import
numpy at the python prompt. Do I have to set pythonpath or something ?

Thanks

Rgds,
Amit

On Tue, Apr 1, 2008 at 2:44 PM, Robert Kern <robert.kern at gmail.com> wrote:

> On Tue, Apr 1, 2008 at 1:31 PM, Amit Itagi <aitagi at gmail.com> wrote:
> >
> > On Tue, Apr 1, 2008 at 1:21 PM, Robert Kern <robert.kern at gmail.com>
> wrote:
> > >
> > > On Tue, Apr 1, 2008 at 10:16 AM, Amit Itagi <aitagi at gmail.com> wrote:
> > > > I am installing this on a CENTOS linux platform (64 bit AMD
> opteron).
> > The
> > > > path to my python directory is /home/amit/packages/Python-2.5.2 . If
> I
> > > > temporarily make the atlas library unavailable (by renaming the
> > directory to
> > > > some name that is not in the path), I can perform the build. Now in
> the
> > > > installation stage, I use
> > > >  python setup.py
> > > > and then choose the option 2/home/amit/packages/Python-2.5.2. In the
> > > > proposed sys.argv the path is shown as /home/amit/packages/python-
> 2.5.2.
> > > > Incidentally, it also creates this new directory during install.
> > >
> > > Looking at the code, I can confirm that the menu system is simply
> > > buggy and the cause of your problem. Do not use it.
> > >
> >
> > Robert,
> >
> > Could you kindly suggest an alternate way of getting it right ?
>
> Just like every other Python package:
>
>  $ python setup.py build
>  ...
>  $ sudo python setup.py install --prefix=/home/amit/packages/Python-2.5.2
>
> http://docs.python.org/inst/inst.html
>
> --
> 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 at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20080401/5a703e28/attachment.html>


More information about the NumPy-Discussion mailing list