[Numpy-discussion] Numpy installation

Robert Kern robert.kern@gmail....
Tue Apr 1 12:17:44 CDT 2008


On Tue, Apr 1, 2008 at 10:16 AM, Amit Itagi <aitagi@gmail.com> wrote:
>
> On Mon, Mar 31, 2008 at 11:06 PM, Robert Kern <robert.kern@gmail.com> wrote:
> >
> > On Mon, Mar 31, 2008 at 4:17 PM, Amit Itagi <aitagi@gmail.com> wrote:
> > > Hi,
> > >
> > > I am having problems with numpy installation.
> > >
> > > 1) These is an atlas 3.8.0 library installed somewhere in the search
> path.
> > > However, the installation gives errors with that installation. Is there
> a
> > > way to tell the installer to install the default (possibly slower) blas,
> > > instead of using the one in the path ?
> >
> > Create a site.cfg file with the appropriate section; copy and modify
> > the site.cfg.example file.
>
> I figured how to specify a particular installation of the libraries. I want
> to do the opposite. How do I specify the following in site.cfg - "Don't
> search for the library. Assume that it is absent and use the default slower
> library" ?

There's nothing default about it. You should use the [lapack_opt]
section to specify whichever BLAS and LAPACK libraries you like, even
if they are not optimized.

> > > 2) Also, my main Python directory is called Python-2.5.2. When I try to
> > > configure with the install<prefix>, it changes Python-2.5.2 to
> > > "python-2.5.2" and creates a new directory. How can I make the installer
> not
> > > convert the upper-case "P" to a lower-case ?
> >
> > Can you give more information like the platform you are on, the full
> > path to this directory, the exact commands that you executed, and the
> > results of these commands?
>
> 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.

Can you just do a "python setup.py install" instead of going through
the menu system? The menu system may be bitrotten.

-- 
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


More information about the Numpy-discussion mailing list