[SciPy-user] build instructions are not available from scipy home page

Dr. Moritz Braun mbraunm at pe2.kph.tuwien.ac.at
Mon Aug 13 04:31:02 CDT 2001


eric jones wrote:
> 
> Hey  Moritz,
> 
> > 1. the Numeric.pth file in the site-packages directory ends up being
> > empty!  thus Numeric will not be found , easily fixed by somebody with
> enougth
> > python experience to know about the .pth files.
> 
> We found this yesterday too.  Team Travis hacked together something that
> should fix this.  Its in the latest CVS.
> 
> > 2. the fftw.so fftw-module is not found by the FFT2.py module in spite
> > of being in the
> > same directory namely site-packages/scipy/fft
> 
> We're not seeing that one here on our Windows or Linux machine -- although I
> have seen similar behavior in the past.  The import behavior for packages
> (and especially sub-packages) is not always easy to figure out.  I tried
> sticking Numeric in as a sub-package of SciPy and failed because of similar
> issues to what your seeing here (although I think it is still possible, just
> not
> in the initial release).
> 
> I have two suggestions.  (1) Try the latest CVS.  It had a lot of work added
> yesterday and cursory tests on Windows and Linux show that it is generally
> usable.  (2)  If that fails, change the 'import fftw' statement to
> 'from scipy.fft import fftw' and see if that helps any.
> 
> eric
> 
> ----- Original Message -----
> From: "Dr. Moritz Braun" <mbraunm at pe2.kph.tuwien.ac.at>
> To: <scipy-user at scipy.org>
> Sent: Friday, August 10, 2001 7:04 AM
> Subject: Re: [SciPy-user] build instructions are not available from scipy
> home page
> 
> > "Travis N. Vaught" wrote:
> > >
> > > Dr. Moritz,
> > >
> > > Travis Oliphant is right, the current version of SciPy from CVS will
> > > overwrite ("upgrade") an installed Numeric with Numeric 20.1.1.
> > >
> > > We are currently discussing alternative strategies of packaging Numeric
> with
> > > SciPy while still retaining the Numeric that may be already installed.
> > >
> > > We hope to have a solution to the Numeric problem out and updated on the
> CVS
> > > within the next day or so.
> > >
> > > If you'd like to compile fftw on linux, the following commands *should*
> work
> > > from the fftw directory...
> > > (they haven't really been checked, though)
> > >
> > > #These first three lines are necessary to build double-precision
> libraries
> > >
> > > ./configure --enable-threads
> > > make
> > > make install
> > >
> > > #Now single precision libraries...
> > >
> > > make clean
> > > ./configure --enable-threads --enable-float --enable-type-prefix
> > > make
> > > make install
> > >
> > > Travis Vaught
> > >
> > > --------------------------------------------------
> > > <From Travis Oliphant>
> > >
> > > If you want to build the interface to the fftw libraries you need to
> have
> > > the
> > > fftw libraries previously installed (or you can change the line in
> setup.py
> > > to build_fftw=0)
> > >
> > > We were having trouble making Numeric a subpackage of scipy so I think
> the
> > > installation will currently upgrade your copy of Numeric as well.
> > >
> > > -Travis Oliphant (the other Travis)
> > > _______________________________________________
> > > SciPy-user mailing list
> > > SciPy-user at scipy.net
> > > http://www.scipy.net/mailman/listinfo/scipy-user
> > >
> > > -----Original Message-----
> > > From: scipy-user-admin at scipy.org [mailto:scipy-user-admin at scipy.org]On
> > > Behalf Of Travis Oliphant
> > > Sent: Thursday, August 09, 2001 4:44 AM
> > > To: scipy-user at scipy.org
> > > Subject: Re: [SciPy-user] build instructions are not available from
> > > scipy home page
> > >
> > > >
> > > > thanks a lot!
> > > >
> > > > However.
> > > > this are only the instructions for Windows
> > > > I tried it on linux and got
> > > > stuck first with a problem of find Numerics source code
> > > > which I fixed by copying the source distribution into the same
> directory
> > > > and making a soft link
> > > > from Numerical to Numeric-xxxxx
> > > > now the required compilations bombed out with  trying to link to the
> > > > libfftw-thread library
> > > >
> > > > I am also unsure whether any existing NumPy installation will be
> touched
> > > > or  not.
> > > >
> > > >
> > > > Thanks
> > > >
> > > > Moritz
> > > > _______________________________________________
> > > > SciPy-user mailing list
> > > > SciPy-user at scipy.net
> > > > http://www.scipy.net/mailman/listinfo/scipy-user
> > >
> > > _______________________________________________
> > > SciPy-user mailing list
> > > SciPy-user at scipy.net
> > > http://www.scipy.net/mailman/listinfo/scipy-user
> > Hi Travis and Travis
> >
> > I managed to build and install fftw both threaded and single precision
> > I also got the python build and install going
> > However there seem to be two bugs
> > 1. the Numeric.pth file in the site-packages directory ends up being
> > empty!
> > thus Numeric will not be found , easily fixed by somebody with enougth
> > python experience
> > to know about the .pth files.
> > 2. the fftw.so fftw-module is not found by the FFT2.py module in spite
> > of being in the
> > same directory namely site-packages/scipy/fft
> >
> > regards
> >
> > Moritz
> > _______________________________________________
> > SciPy-user mailing list
> > SciPy-user at scipy.net
> > http://www.scipy.net/mailman/listinfo/scipy-user
> 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
Dear Eric
Dear Travis
thanks a lot for your help

I am moving back to South Africa in the next two weeks, where I will
look into scipy
again

regards

Moritz



More information about the SciPy-user mailing list